/ Published in: CSS

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;}
.. oder ihr benutzt Conditional comments um euren IE7 ein eigenes CSS file zu geben:
*: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;}
.. oder ihr benutzt Conditional comments um euren IE7 ein eigenes CSS file zu geben:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--[if IE 7]> <link rel="stylesheet" type="text/css" href="ie7.css" /> <![endif]– >
Comments
