Tim Offenstein wrote:

> There are characters I can add to my CSS which are browser-specific, 
> i.e., read only by Safari or IE6 for instance but I can't find a 
> listing of them.

One of the old lists...
<http://www.communis.co.uk/dithered/css_filters/css_only/index.html>
...and a somewhat newer one - in active but not serious use...
<http://www.gunlaug.no/contents/styles/target-browser.css>

> Anyone care to offer me a reference where I can see what markup to 
> use for different browsers?

If you really mean markup (not CSS) then there's only the occasional
need for an extra, otherwise harmless, container or separating-element
to make IE/win behave - for instance between floats and absolute
positioned elements.

> Also, while we're at it, is this approach any better/worse than a 
> conditional style sheet?

It is not a good idea to make serious use of hacks for anything but old
IE - IE7 and below, for which there are a few reliable CSS hacks in
addition to Conditional Comments. Your example with the "leading
underscore" for IE6 and older, fits right in there (apart from upsetting
the CSS validator).

Other browsers are being developed and picked up by users too quickly
for us to consider anything but the use of progressive styling as method
for getting the most out of the latest versions without having our
designs completely broken by the slightly older versions.

In this respect nothing has changed since I wrote this...
<http://www.gunlaug.no/contents/wd_1_02_01.html>
...and the headline says it all, really.

Bottom line: don't target specific (non-IE) browsers with CSS or
otherwise. It will come back to haunt you.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to