I've recently built a website for a friend of mine, and although it works the way I intended it to on Firefox, Safari and IE (on a Mac), IE 6 is not displaying the navigation list properly.
What could cause this? I've tried everything I can think of, including setting margin and padding to 0 on more things than I can imagine even having to bother with.
I'm fairly new to the web standards way of designing, and I really enjoy it, except for these moments.
I'll be more than happy to post code if that helps, but I just wanted to see if anyone has an immediate solution.
Hey, good effort on the site. Please forgive my next comment, just trying to help: you really should start by fixing your HTML and making it valid. You have errors that will cause you dramas trying to get the CSS to work reliably. Just one example is that you have the same id attribute on more than one element (the nav ul and the nav div).
Fix your HTML and it will make your life easier - and will also make helping you track down your bugs easier for us. Don't worry about the menu problem until then - it will be easy to fix.
Try giving your #navlist li, #navlist a a fixed height (f.e. same height as your nav images). Add display: inline to your #navlist li; this will fix IE 5's 3px bug. (if you still want to support that browser that is)
Personally i'd suggest to use non-transparent GIF's or JPG's instead of your transparent PNG's, cause of the bad browser support for PNG's.
Set a fixed height for div id="navlist".. but before that.. change id="navlist" with something else because you have the same id on <ul>. It is not neccesary to have an id on <ul> Catch me on YM for other things.. because they are and I can't write them here... The are some changes to be made in your html/css file. So my YM : seedee69
thumblewend - I completely agree with getting the html straightened out. When I started in Dreamweaver building it, I was on the right track, but the IE thing caused me to get out of control doing anything and everything I could to get it to work. Excuses excuses... :)
Jan Meeus - that did the trick! And good call on the transparent gifs. Thank you.
seedee - thanks for the heads up on the markup, and for the offering of chatting online to help me out. I may do that when I have a little more free time to really sit down and dive into it.
Daytonian - seemed a little easier just using the but when I get some time, I might try to play around with what you posted. Thank you for taking the time to do that. I really appreciate it.