Tuesday, September 7, 2010
Conditional CSS for IE (Internet Explorer) - How to fix CSS style issues specific only to Internet Explorer?
Problem:
How to fix issue that is specific only to Internet Explorer as your css script is working fine in other browsers?
Solution:
CSS allows your write stylesheet specific browsers as you can issue if statement in CSS.
<!--[if IE]>
...Your CSS style statement or stylesheets..
<![endif]-->
Example:
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="all-ie-only.css" />
<![endif]-->
For more information:
Solution:
CSS allows your write stylesheet specific browsers as you can issue if statement in CSS.
<!--[if IE]>
...Your CSS style statement or stylesheets..
<![endif]-->
Example:
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="all-ie-only.css" />
<![endif]-->
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment