Broken Nav Menu and No Header Background?, Can't get it to work right! |
Broken Nav Menu and No Header Background?, Can't get it to work right! |
Sean |
Oct 31 2007, 03:43 PM
Post
#1
|
Group: Members Posts: 1 Joined: 31-October 07 Member No.: 4,197 |
I've just completed my site, www.TopAgentTechTools.com using Kompozer.
BUT when I upload it, it puts the navigation menu on 2 lines instead of 1, and it doesn't bring over my blue menu. Any help would be greatly appreciated!! --Sean G. |
Darin McGrew |
Oct 31 2007, 04:36 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
FWIW, I get the nav menu in one line.
I recommend that you fix the markup errors reported by our online validator. What is the blue menu? Are you sure you've uploaded everything to the server? |
pandy |
Oct 31 2007, 05:31 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Yes, fixing the errors will get rid of the problem. Peculiar it's IE that chokes on it.
This is a very broken list, or rather several. HTML <div id="mainmenu"> <ul> <ul style="text-decoration: underline; color: rgb(51, 51, 255);"> <li><a class="current" href="index.html">HOme</a></li> </ul> <li style="text-decoration: underline; color: rgb(51, 51, 255);"><a href="green.html">software</a></li> <li style="text-decoration: underline; color: rgb(51, 51, 255);"><a href="orange.html">videos</a></li> <ul style="text-decoration: underline; color: rgb(51, 51, 255);"> <li><a href="purple.html">cameras</a></li> </ul> <li style="text-decoration: underline; color: rgb(51, 51, 255);"><a href="red.html">websites</a></li> <ul> <ul> <li style="text-decoration: underline; color: rgb(51, 51, 255);"><a href="black.html">training</a></li> </ul> </ul> </ul> </div> You can't nest lists the way you do and you can't have LIs on the loose between lists. There is no need for nesting. Nor is there any need for more than one list. The DIV around it all isn't needed either, if you don't have any special plans for it. You could as w ell put the id on the UL. The one UL that will be left when you have cleaned it up. There is no reason to float the DIV that I can see. Same goes for the UL in case you remove the DIV. The result should be one list with floated LIs. Less Is More. |
Lo-Fi Version | Time is now: 19th April 2024 - 04:32 PM |