css for IE7 only


/ Published in: CSS
Save to your folder(s)

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:

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.