| CSS: Escape from NS4 |
|
|
|
| Written by Catherine F. Laine | |
| Sunday, 04 June 2006 | |
|
Because NS4 has this evil tendency to crash when served up certain CSS commands, it is often useful to get that granny browser to ignore your stylesheets altogether. Here are several ways to do this.
Using the import rule:
Using the above syntax, the stylesheet is hidden from nearly all version 4 browsers. To hide just from NS4 use
Note that screen and projection are separated by a comma. To specify all media types, use media="all". For more info see: http://css-discuss.incutio.com/?page=ImportHackhttp://www.w3.org/TR/REC-CSS2/media.html |
|
| Last Updated ( Monday, 05 June 2006 ) |
| < Prev | Next > |
|---|




