CSS hack: Difference between revisions

Content deleted Content added
No edit summary
Line 38:
 
===== html>body hack =====
Versions of Internet Explorer doesbefore version 7 do not support the "child selector" (<code>></code>), allowing rules to be specified for all browsers except Internet Explorer. For example:
<pre>html>body p {color: blue; /* Turns paragraph text blue in Firefox, but not in IE */}</pre>