An Entrepreneur, Coach, IT Consultant, Strategic Adviser, and a Traveler craving to explore and contribute to forming a better society.

Tuesday, September 7, 2010

Conditional CSS for IE (Internet Explorer) - How to fix CSS style issues specific only to Internet Explorer?

No comments :
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:

No comments :