Many CSS problems can be solved by adjusting your HTML markup or CSS. For
example, a lot of Internet Explorer rendering quirks can be solved by either enabling
or disabling the proprietary hasLayout property of a given element through the
setting of specific CSS properties??”read more about the topic in The Internet Explorer
hasLayout Property (p. 158). Again, the web sites mentioned above, Position Is
Everything and the Quirksmode Bug Report, are a great place to start this research
as they often document usable workarounds for various problems.
Workarounds, Filters, and
Hacks
7 http://positioniseverything.net
8 http://www.quirksmode.org/bugreports/index.html
The Ultimate CSS Reference 402
Applying a CSS Filter
If no usable workaround exists for your problem, you may have to resort to applying
a different set of rules for a specific browser. You may be able to use a CSS feature
that??™s not supported by all browsers in order to direct CSS rules to particular
browsers??”a technique that??™s often referred to as using a CSS filter.
Pages:
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583