WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Legend wrap (or not)

for

From: Tim Beadle
Date: Aug 28, 2007 2:50AM


On 28/08/07, Stephanie Sullivan < <EMAIL REMOVED> > wrote:
> (though I don't see anything at centricle that will allow me to show
> Safari something that Moz-based browsers can't see...

You could use the html:lang rule to *hide* a rule from safari, after
setting the safari-specific value previously in a more general rule.

e.g.

p {
/* safari rule */
}

html:lang(en) p {
/* rule for everything but safari */
}

Disclaimer: I'm weaning myself off of CSS hacks, but sometimes they're
necessary.

Regards,

Tim