Dealing with Firefox and Internet Explorer's Differences

后端 未结 8 1320
旧时难觅i
旧时难觅i 2021-01-03 00:23

This question is because I just found out that my site is looking ok in IE7 and in IE8 with compatibility-mode, but in FF it is all screwed up.

What would be the bes

8条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-03 00:57

    For the love of god (and your hairline) develop in FF/Webkit first and then make your tweaks to get it to work in the IE family.

    When needed, I prefer hacks in the CSS doc (* html .foo) to conditional comments because the thought of putting MS specific markup into my HTML makes me queasy.

提交回复
热议问题