24th of June 2010 1
Creating a simple css menu isn't really that hard but it is always good to have a stable design base to begin with even for the more experienced coder so here i'll present a cross browser css menu with simple design but that still works as a sort of base for other menus.

XHTML
A simple unordered list is the base for this css menu together with li-tags and regular links. A simple twist would be to add a "on"-class for the current page however that requires you either to program it or use a CMS that supports such logic (like WordPress).
CSS
IE also need the links (a-tags) to be floated since the links are displayed as block. Also note height and height/line-height for the a-tags.
The css menu has been cross browser tested with IE6 and IE7. There aren't much more to say about this simple CSS menu example but feel free to ask anything as always. Also be sure to check the source of the example and download it and experiment away!
shoeb 7:28 pm 12/08 of 2010
Excelent
ReplyCopyright Tommie Hansen since 2010. All rights reserved. Design and the Absolute Theme by Tommie Hansen.