headbang90
14 May 2010, 05:18 PM
Hi there, im 16 years old and learning html and css. Im a bit new but i have a problem. How do i build a template? You know when you click at the meny like "forum" the content in the middle should change information. My menu looks like this in html.
<div id="meny">
<ul>
<li><a href="Nyheter.html">Nyheter</a></li>
<li><a href="Hotel.html">Hotel</a></li>
<li><a href="Map.html">Map</a></li>
<li><a href="Egypten.html">Egypten</a></li>
<li><a href="Inför.Resan.html">Inför Resan</a></li>
<li><a href="Support.html">Support</a></li>
</ul>
</div>
It's links, and i created copys from my main html file -.-'. When i press "Hotel" i want the information to change and not link to a new site. You know what i mean?
look here, when pressing "hotel" i wanted the yellow mark to change.
http://img594.imageshack.us/img594/2586/visning.jpg
....
<div id="meny">
<ul>
<li><a href="Nyheter.html">Nyheter</a></li>
<li><a href="Hotel.html">Hotel</a></li>
<li><a href="Map.html">Map</a></li>
<li><a href="Egypten.html">Egypten</a></li>
<li><a href="Inför.Resan.html">Inför Resan</a></li>
<li><a href="Support.html">Support</a></li>
</ul>
</div>
It's links, and i created copys from my main html file -.-'. When i press "Hotel" i want the information to change and not link to a new site. You know what i mean?
look here, when pressing "hotel" i wanted the yellow mark to change.
http://img594.imageshack.us/img594/2586/visning.jpg
....