First add the following meta tags on master page or content page ,where we are using particular CSS class.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
For eg. Class abc
And in CSS file write class as follows
And write browser specific properties in this class.
.ie8 .abc
{
//class style here
}
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
For eg. Class abc
And in CSS file write class as follows
And write browser specific properties in this class.
.ie8 .abc
{
//class style here
}
No comments:
Post a Comment