Prev | Current Page 555 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

But in CSS terms, applying a hack generally means
exploiting incorrect or buggy CSS features in order to target or exclude a browser,
or group of browsers, so that alternative styling may be applied to them.
Other techniques??”often called workarounds or filters??”include targeting the
proprietary features of a specific browser, or employing advanced CSS features to
exclude older browsers that don??™t support the newer features. If all this jargon??™s
getting a bit much for you, just remember that workarounds are CSS-oriented
solutions to these problems, while filters and hacks are browser-oriented solutions.
The Problem with Workarounds, Filters, and Hacks
While it??™s often tempting to leap in and apply a complicated hack to force a particular
browser to behave, a more careful approach is needed to address CSS problems
efficiently. First, you need to make sure that the problem you??™re addressing is a real
CSS problem??”not just the result of incorrect CSS code or an incomplete
understanding of CSS.


Pages:
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567