Css For All Other Browsers But IE
The problem i am having is I have a simple floated layout with the s3slider plugin installed within one of the content divs It works fine in internet explorer but all other browser
Solution 1:
Put your IE-specific styles in a separate CSS file and then include that file in your HTML like so:
<!--[if IE]><link rel="stylesheet" type="text/css" href="ie.css" /><![endif]-->
These are called conditional comments. The reverse of this also works by putting if !IE
in the tag instead.
Solution 2:
You can use the IE conditional comments:
<!--[if !IE]>-->
<link style="text/css" href="http://path.to/non-ie.css" />
<!--<![endif]-->
Solution 3:
You can wrap anything you want IE to ignore in a conditional comment, like this:
<!--[if !IE]><!-->
IE will ignore whatever is put here.
<!--<![endif]-->
Post a Comment for "Css For All Other Browsers But IE"