CSS hack: Difference between revisions

Content deleted Content added
Random832 (talk | contribs)
Random832 (talk | contribs)
Line 56:
</pre>
 
The first "voice-family" statement is set to the string '"}"', but an IE parser bug will interpret it as a string with a single backslash followed by a } for the end of the rule. voice-family is chosen because it will not affect rendering on a screen stylesheet. The second rule uses the [[#html>body hack|html>body hack]] for browsers such as [[Opera (Internet suite)|Opera]] 5, and IE7 in strict mode, that have the parsing bug but do not have the box model bug. (and, additionally, which support the child selector)
 
==== Selector Hacks ====