IE7 ignores CSS attribute selector only on pages coming from production server

前端 未结 7 708
粉色の甜心
粉色の甜心 2021-02-07 03:25

On my website, IE7 seems to be ignoring certain CSS attribute selectors. The strange thing is that it only happens when the page comes from the production server. If I have the

7条回答
  •  北海茫月
    2021-02-07 04:02

    I see that one page is .html and the other is .php. It might be possible that your php page has some character (maybe hidden) before the doctype. It could make a difference on how IE accepts HTML and CSS.

提交回复
热议问题