WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: spacing -   versus clear images

for

From: Alastair Campbell
Date: Mar 7, 2006 10:40AM


> In that case, how do you code a right-hand padding to a <li> in CSS?
>
> I have found out how to adapt the <li> tag to show a custom
> image instead of the standard bullets but can't pad it to
> keep a visually pleasing gap between the bullet and the text

That wouldn't be right-hand padding, but left hand padding. You could
also try applying the image as a background to the <li> element, I've
found that works better across browsers. I'd suggest that the
CSS-discuss list is the best place for those type of questions:
http://www.css-discuss.org/

I haven't used a spacer image for about 5 years, so I can assure you
that they are not needed. However, a good knowledge of CSS is needed to
apply complex presentation to simple HTML.

Kind regards,

-Alastair

--
Alastair Campbell | Director of User Experience

Nomensa Email Disclaimer:
http://www.nomensa.com/email-disclaimer.html