Letterbomb05 Posted July 19, 2009 Share Posted July 19, 2009 Hi, I'm having some trouble creating this list navigation that I want. I was just creating the main frame for the menu with ugly background colours etc. I'd rather not use tables, not sure if this will work though. <ul> <li class="MainHeader">Main</li> <li> <ul> <li class="link"><a href="">Link 1</a></li> <li class="link"><a href="">Link 2</a></li> </ul> </li> </ul> <br /> <ul> <li class="MainHeader">Main Header</li> <li> <ul> <li class="link"><a href="">Link 1</a></li> <li class="link"><a href="">Link 2</a></li> <li class="link"><a href="">Link 3</a></li> <li class="link"><a href="">Link 4</a></li> </ul> </li> </ul> <ul> <li class="MainHeader">Main Header</li> <li> <ul> <li class="link"><a href="">Link 1</a></li> <li class="link"><a href="">Link 2</a></li> <li class="link"><a href="">Link 3</a></li> <li class="link"><a href="">Link 4</a></li> </ul> </li> </ul> The problem is clear when seen in the Demo (Full CSS is found there). I'm working in XHTML Strict. I need to get the lists appearing below each other so I have the Header, the links below, then the 2nd header with the other links below that, no gaps. Feel free to ask questions if I havn't been clear enough, thanks in advance for any help! ~Letterbomb05. Link to comment https://forums.phpfreaks.com/topic/166498-solved-simple-list-navigation/ Share on other sites More sharing options...
Letterbomb05 Posted July 19, 2009 Author Share Posted July 19, 2009 Fixed with tables. Link to comment https://forums.phpfreaks.com/topic/166498-solved-simple-list-navigation/#findComment-878009 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.