开发者

div showing up twice in IE

I'm almost finished a开发者_如何学编程 site , but for some reason it's not appearing as wanted in IE. The div "content" (with top border) is showing up twice - once with the content in it, centered, and again below the navigation, but aligned to the left and with no content in it. It is showing up fine in Safari and Firefox.

Here is the CSS code: #content {

#content {
    position:relative;
    top: 50px;
    width:900px;
    height:580px;
    border-top-color:#000000;
    border-top-style: solid;
    border-top-width:1px;
}

And here is a link to the site: http://www.thomas-collection.eu/home.html

Thank you!


Validating your HTML will fix the problem (you have an open DIV among other things.)

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.thomas-collection.eu%2Fhome.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜