AbtPst
AbtPst

Reputation: 8008

Change the Rendering in IE9 with Stylesheets

is there a way to disable the rendering in IE9? Can we do it using stylesheet changes? or some meta character on the webpage maybe?

thanks

EDIT here is a sample

in Chrome

enter image description here

and in IE9

enter image description here

i want the page to look as displayed in Chrome. Is there any way i can get that effect in IE9?

Upvotes: 1

Views: 31

Answers (1)

ianaya89
ianaya89

Reputation: 4233

You could add a specific stylesheet which will be only loaded in IE9 using IE conditional comments. In this stylesheet you should add whatever you need to fix the rendering issues.

<!--[if IE 9]>
<link href="stylesheets/ie9.css" rel="stylesheet" />
<![endif]-->

Here is more info about conditional comments and how it works.

Upvotes: 1

Related Questions