Quote:
Mac: IE5 & earlier, NS4 & earlier, AOL |
IE5 has a set of CSS hacks that you can use for specific issues (google will
help on that). For NS4, use the @import hack to give NN4 a subset of the
main CSS.
There shouldn't be any reason to sniff these two. Design for Mozilla, and
add the necessary hacks for the IE issues.
A good place to start for this is here:
http://css-discuss.incutio.com/?page=CssHack
Quote:
I agree that sniffing is a bad idea and would like to do away with it but
we
are required to keep this code on our pages. |
Who's requiring that?
Quote:
Do you know of any sites that provide info on the pros & cons of browser
sniffing and alternatives? Perhaps I can suggest a change in this
requirment
if provide an argument to its use. |
The main argument is that browser sniffing is inaccurate and a huge
maintenance issue. It's inaccurate because it's hard to sniff for every
variation of browser out there. In addition, most modern browsers can 'fake'
themselves and be seen as something else to the sniffer. In terms of
maintenance, you need to constantly update the snifffer to accound for newer
browsers.
The biggest argument, though, is that there is no need to do this. CSS has
enough hacks built in to take care of the issue for you without needing to
rely on Javascript sniffing.
-Darrel