[RESOLVED] css/html5 cross-broswer issue (hitting head against the wall)
I coded my top navbar, which looks beautiful in Chrome, but doesn't look right at all in ff or ie, where the last item removes itself from the bar. If I adjust ANYTHING in the code, it doesn't look right it chrome. Any help or ideas you could give is appreciated.
<li><a href="about.html">About Us</a></li>
You have specified the height property in the nav element. Have you considered that to be the problem?
Consider also playing with the marginproperty to adjust your content for all browsers. This particularly is important for positioning of floated elements.
Any reason you used the class attribute for the nav element as opposed to using the id attribute to identify elements in the markup?
Try to avoid using fixed distances/length units to style/present markup, such as px or em...where possible, use percentages. This is because font styles/sizes in the default might vary in browsers, and ruin your look. You may actually want to include a font property in the body element to influence the issue: try that first to see how it affects the other browsers not giving you what you want. Browsers can be quirky. But the fact you are testing in all major HTTP clients (browsers) is good.
4 was it thank you, combined with thinking outside the box a little. (I added blank li's to position as well, go figure.)
I'm a student and this is not my choice website layout. I have to follow certain criteria every week in the design, such as hover this week, and sprites next. I'll convert to percentages. Thanks for your help!