开发者

site breaking in IE

I am working on a website and I was (idiotically) only checking in Chrome and Firefox and when I pulled it up in IE it breaks, on a few different levels.

The top header colors wont show up and instead of stacking next to each other, two of the divs stack开发者_如何学运维 on top. The list for the slider also breaks.

Any thoughts?


Try putting this in to declare doc type, etc:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

-Your Brother Eric


Yes, try to validate html. And always use Doctype because IE use Quirks mode

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜