- Kollermedia.at - http://www.kollermedia.at -
IE7 CSS Hack
Posted By Jürgen Koller On 2. März 2007 @ 15:07 In Scripts etc. | 1 Comment
Wer mal nur den IE7 mit css ansprechen will oder muss zb. weil der IE7 einen bestimmten bug hat, kann dies folgendermaßen tun.
*:first-child+html
Wenn man also zb. die schriftfarbe der css class "meineklasse" nur für den IE7 verändern will, muss man daher folgendes schreiben:
*:first-child+html .meineklasse {color:990000;}
Nachtrag: oder ihr benutzt Conditional comments um euren IE7 ein eigenes CSS file zu geben.
<!--[if IE 7]> <link rel="stylesheet" type="text/css" href="ie7.css" /> <![endif]-- >
Article printed from Kollermedia.at: http://www.kollermedia.at
URL to article: http://www.kollermedia.at/archive/2007/03/02/ie7-css-hack/
Click here to print.
Copyright © Kollermedia.at. All rights reserved.