I have a problem with making horizontal menu with css. The problem is that menu should be right aligned, but items in sub menus should be left aligned.
To make horizontal menu float:right property is used on DIV tag where menu is located.
This is an example of menu:
With my style, this code is correctly displayed only in IE, in other browsers sub menus are appearing in unpredictable places. Menu formating is also correct only in IE.
page can be found here <http://nashe-vesillia.com/index_main.html >. Only IE is able to show this page in the same way as it should be.
To make horizontal menu float:right property is used on DIV tag where menu is located.
This is an example of menu:
Code:
<DIV id="menu">
<UL>
<LI><A>Item1</A>
<UL>
<LI><A>Item1.1</A></LI>
</UL>
</LI>
<LI>Item2
<UL>
<LI><A>item2.1</A></LI>
</UL>
</LI>
</UL>
</DIV>
page can be found here <http://nashe-vesillia.com/index_main.html >. Only IE is able to show this page in the same way as it should be.
Comment