Cascading Style Sheets/Hacks and Filters

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search
TODO

Editor's note
IMHO no subchapters should better be created in this chapter; instead, section formatting should be used for individual hacks and filters. AFAIK avoiding deep nesting when possible is a recommended practice at Wikibooks. If too long, the chapter can still be divided into two--one for hacks and one for filters.

[edit] Hacks & Filters

CSS Hacks

All web browsers are not equal and different rendering of the same code, even if the code is validated, can destroy a web page's presentation. To work around this a large community of browser hacks has been developed. These hacks should be avoided at all cost because they may break your code in other browsers or slow down performance. However sometimes it is impossible to avoid the use of these hacks.


Be aware that constant browser updates may cause hacks to not work in the future.


Filters