开发者

IE 6 problems... help? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜