IE 6 problems... help? [closed]
http://tendonaid.com/
That's the website.
The top and bottom navigation seem to be off in IE 6. What can I do to fix that?
Couple of things that might help you:
IE6 does not recognise well html5 tags like <header>
and <footer>
There's a few solutions to fix this. You could try John Resig' shiv
Then if that's not enough, you can add an IE6-only stylesheet to fix up the layout for that browser.
See this article about it.
Per Ben's suggestion of using John Resig' shiv is a valid use of getting content to use the same css styling in IE6. But a more relaible way is to use IE specific conditional statements, this will make sure that browsers with javascript disabled will still render properly.
In Head
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="style-ie6.css" />
<![endif]-->
Body Code
<!--[if IE 6]>
<div class="footer">
<![endif]-->
<footer>.......</footer>
<!--[if IE 6]>
</div>
<![endif]-->
You will only need the styling for the additional classes in the style-ie6.css
精彩评论