PHP calling and displaying CSS in different browser.

Posted by user147685 on Stack Overflow See other posts from Stack Overflow or by user147685
Published on 2009-12-16T08:14:50Z Indexed on 2010/03/23 22:23 UTC
Read the original article Hit count: 528

Filed under:
|
|

I'm having problem with CSS where, when I run on Mozilla Firefox the CSS is doing fine. But when I run inside Internet Explorer, the CSS is not working. When I try to change the code in the CSS file, it works otherwise. Mozilla is OK, but Internet Explorer is not.

I have an idea calling 2 different CSS. For example, style_IE.css and style_moz.css. Both CSS files will be called from header.html.

How can I fix this problem?

Is there some code that can distinguish between browsers? Whenever the user is running in Internet Explorer, then style_IE is called if not it otherwise.

© Stack Overflow or respective owner

Related posts about php

Related posts about css