[thelist] Netscape... why?

aardvark roselli at earthlink.net
Thu Jun 6 23:29:01 CDT 2002


> From: Erik Mattheis <gozz at gozz.com>
>
> >okay, how about these other strategies --
> >
> >   ~ use standard css, and just let the old browsers barf on it
> >
> >   ~ use only those css elements where none of the old browsers barf
>
> ~ document.write different <link> tags based on navigator.userAgent,
> no browsers barf, some just don't show stylesheets
>
> ~ document.write different <link> tags based on navigator.userAgent,
> use standard css for a <link> higher on the page, and just let NN 4.x
> with JS disabled barf on it --

NN4.x won't render CSS with JS disabled...

but IE without JS enabled will still be penalized...

i think using document.write penalizes your non-JS user
unecessarily... after all, if you're taking the time to serve
different CSS for people, why not support 'em all?

@import CSS that contains all the padding/margin/line-height
attributes so NN4.x doesn't poop, and it's still valid...

hell, you can justify it if you break your CSS pages up so one file
holds colors, another layout, another perhaps type, etc (handy if you
want to allow users to really customize a site)... it's not at all a
hack at that point, no matter how you feel about it... it's just that
one gets called via @import while the others get called via <link>...


--
Read the evolt.org case study
Usability: The Site Speaks for Itself
http://amazon.com/exec/obidos/ASIN/1904151035/evoltorg
ISBN: 1904151035





More information about the thelist mailing list