![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a menu at my page. This menu is at the top of my page and at the bottom of my page. The html for this menu is the same for the top menu and for the bottom menu, I only gave them a different id, so that could position them absolutely in my css: div id="menu-top" a class="menuitem" href="index.html">menuitem 1</a a class="menuitem" href="page2.html">menuitem 2</a a class="menuitem" href="page3.html">menuitem 3</a a class="menuitem" href="page4.html">menuitem 4</a /div div id="menu-bottom" a class="menuitem" href="index.html">menuitem 1</a a class="menuitem" href="page2.html">menuitem 2</a a class="menuitem" href="page3.html">menuitem 3</a a class="menuitem" href="page4.html">menuitem 4</a /div My question is: since the html code for the menu is the same for the top and the bottom menu, is it possible to put it only once in my html and then do stuff in css which can make it appear twice on my page? It seems to me it would be more logical to do it like that, because the fact that the menu appears only once on the page or that it appears twice on the page, it pure layout I would say. Veerle |
![]() |
| Thread Tools | |
| Display Modes | |
| |