开发者

Why isn't my site proper on IE but fine on Firefox?

have a look at my site : http://www.searchr.us.

开发者_StackOverflow

Its loading fine with all the effects in FF and Chrome but not in IE ..Whats the problem ?

You can also have a look at my CSS : http://www.searchr.us/css/style.css

Please tell me what the problem is.

Thanks


You have no Doctype, therefore you are entering Quirks mode in which browsers treat the code as "Rubbish from beyond the dawn of standards" and engage in deliberate misinterpretation of the specifications. IE deviates from the standard the most (going quite a long way towards emulating IE 5.x).


1) declare your doctype
2) Reset styles helps a lot for x-browser stuff. (although if you already have your styles laid out it would probably be more of a headache than it's worth)
3) Isolate any functionality that is breaking in IE in an effort to debug any IE specific JS that is not supported. Also, I just found out NetBeans has AMAZING support for JS. You can even test browser compatibility on a line-by-line basis.

Also, your question would be more answerable if you provided more specific details and did a little bit of debugging in an effort to isolate your problem. X-browser (ex: coding for every other browser... than IE) is painful enough.


IE is not the best browser when it comes to implementing standards. What you're experiencing is the something that probably causes a lot of premature balding in web development.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜