E-mail List Archives
Re: More Info on Using UL for links question
From: Sonja Ray
Date: Mar 17, 2004 5:52AM
- Next message: Tim Beadle: "Re: More Info on Using UL for links question"
- Previous message: lists: "RE: More Info on Using UL for links question"
- Next message in Thread: Tim Beadle: "Re: More Info on Using UL for links question"
- Previous message in Thread: lists: "RE: More Info on Using UL for links question"
- View all messages in this Thread
Sorry, I thought it would be fairly clear that one should adjust the number
of pixels specified in the bottom margin according to the size of the fonts
on your page.
If your font are 90px(!) you could specify a bottom margin of 90px, or
100px, or whatever. If the font size if 9px, you could specify a bottom
margin of 6 or 8 px.
You can also specify the margin in points, percentages, ems and several
other units. Pick your poison.
--
Sonja Ray
----
"It is sobering to reflect that one of the best ways to get yourself
a reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence." -- Charles A. Beard
> From: "Jukka K. Korpela" < <EMAIL REMOVED> >
> Reply-To: <EMAIL REMOVED>
> Date: Wed, 17 Mar 2004 07:19:42 +0200 (EET)
> To: <EMAIL REMOVED>
> Subject: Re: More Info on Using UL for links question
> Resent-From: <EMAIL REMOVED>
> Resent-Date: Tue, 16 Mar 2004 22:19:45 -0700
>
> 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/
>
----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Tim Beadle: "Re: More Info on Using UL for links question"
- Previous message: lists: "RE: More Info on Using UL for links question"
- Next message in Thread: Tim Beadle: "Re: More Info on Using UL for links question"
- Previous message in Thread: lists: "RE: More Info on Using UL for links question"
- View all messages in this Thread