Reputation: 122
I have more problem with these lines in IE8:
background: url('../images/sabao_x_top.gif') repeat-x top left,
url('../images/sabao_x_foot.gif') repeat-x bottom left;
I use:
-pie-background: url('../images/sabao_x_top.gif') repeat-x top left, url('../images/sabao_x_foot.gif') repeat-x bottom left;
behavior: url(../PIE.htc);
PIE, nothin'.
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
<![endif]-->
Nothin'.
And now?
Upvotes: 0
Views: 659
Reputation: 3242
You could also target IE8 plus IE7 and IE6 by using
<!--[if lte IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
<![endif]-->
This means the conditional will work if it is less than or equal to IE8
Upvotes: 1
Reputation: 8153
your sending that script to all versions of ie less than ie8; change your conditional comment to <!--[if lt IE 9]> or <!--[if ie 8]>
Upvotes: 2