--- On Wed, 5/12/10, jeffrey morin <[email protected]> wrote:

> On Wed, May 12, 2010 at 12:18 PM,
> Thierry Koblentz <
> [email protected]>
> wrote:
> 
> > Why not using the links or list items to hold the
> background images rather
> > than adding extra elements (spans or else?
> 
> Sorry I should have explained that better. The links are
> using a background
> image to make them look like buttons. So that's why I was
> looking at an
> empty element instead of using the links.

How essential are those icons? If they are genuinely conveying no information 
(as your screenreader comments imply) then I'd personally have no problem 
adding the markup 'placeholders' via JavaScript, and styling their backgrounds 
via CSS. That keeps your markup clean but still gives you all the benefits of 
CSS-images.

- Bobby
______________________________________________________________________
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