Horizontal menu and MSIE 6
We can also have a fixed horizontal menu with MSIE 6 but absolute or relative will be interpreted as fixed thus the menu on the left will be fixed too.
We will use two filters or "hacks" that only MSIE understands.
We will add:
/* start IE_Mac hide\*/ * html{ overflow:hidden; } * body{ height:100%; overflow:auto;/*or overflow-y:auto;*/ } /* end IE_Mac hide*/
Left
Center
Right
The text is hidden
if there is
an overflow
so that alignment
is not modified.
Wide column on the left
Narrow on the right
Centered text
Bold characters
What's left is to add all the hacks or use only the ones corresponding to our project and hope the next version of any browser will not destroy all the layout.
* Triggering quirks mode for IE6 can allow you to use devnull solutions for IE5, 5.5 and 6.
** CSS cutting edge proposes other cross-browser solutions without lists for vertical and horizontal menus.
** Other solutions for horizontal and vertical menus.