WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: More Info on Using UL for links question

for

From: Jukka K. Korpela
Date: Mar 16, 2004 10:28PM


On Wed, 17 Mar 2004, Sonja Ray wrote:

> li {margin-bottom:12px;}
>
> I use this all the time. It works a dream.

Not quite. When the font size is 9px, it creates an unnecessarily large
gap. When the font size is 90px, it's too small. And if your page also
sets font size in pixels, then that's even worse - and users who are
forced to make their browser override all of the author's font size
settings will hardly override the margin-bottom setting.

Use em, Luke. Stay away from the px side.

--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/