HighDots Forums  

Re: Newbie...How can I double-space an unordered list

alt.html.tags alt.html.tags


Discuss Re: Newbie...How can I double-space an unordered list in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
spaghetti
 
Posts: n/a

Default Re: Newbie...How can I double-space an unordered list - 07-15-2003 , 05:52 PM







"Fred" <freddielives (AT) hotmail (DOT) com> wrote

Quote:
I have an undered list like this....
How do I get it double-spaced ?
In your CSS:

li { margin-bottom:1em; }

1 em is basically the size of your text. Increase it accordingly to get a
space you like.




Reply With Quote
  #2  
Old   
Fred
 
Posts: n/a

Default Re: Newbie...How can I double-space an unordered list - 07-17-2003 , 06:30 AM






On Tue, 15 Jul 2003 21:52:03 GMT, "spaghetti" <spaghetti (AT) aspyre (DOT) net>
wrote:

Quote:
"Fred" <freddielives (AT) hotmail (DOT) com> wrote in message
news:9fr8hvg6fnqmtdevhnisapbhqs2ahjv6m6 (AT) 4ax (DOT) com...
I have an undered list like this....
How do I get it double-spaced ?

In your CSS:

li { margin-bottom:1em; }

1 em is basically the size of your text. Increase it accordingly to get a
space you like.

Thanks! That worked great !

I guess 1em is the same as 1px ???

Fred



Reply With Quote
  #3  
Old   
Steve Pugh
 
Posts: n/a

Default Re: Newbie...How can I double-space an unordered list - 07-17-2003 , 10:09 AM



Toby A Inkster <UseTheAddressInMySig (AT) deadspam (DOT) com> wrote:

Quote:
On Thu, 17 Jul 2003 11:04:21 +0000, Jukka K. Korpela wrote:

No, not at all. The em unit is the size of the font, i.e. the height of
the font,

No, the em unit is the width of the letter 'm'.
Only if you're an acient roman.

In the engraved script the roman's used the letter M was square, and
as there were no accents or descenders on any of the letters used
width of M = height of M = height of all characters = size of font

In more recent centuries 1em is the height of the font from the top of
the tallest character to the bottom of the lowest character.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
  #4  
Old   
BGW
 
Posts: n/a

Default Re: Newbie...How can I double-space an unordered list - 07-17-2003 , 10:24 AM



<snip>
Quote:
I guess 1em is the same as 1px ???

Fred
Actually, no. In the olden days, when type was set by hand, 1em was
the height of the capital letter "M", and the absolute measurement of
the unit varied between fonts. In modern context, it still refers to
the height of a given font (probably still measured by M, but I don't
know for sure) and is still relative to the chosen font and font
display peroperties.

Ems are a relative measurement - they are proportionally consistent
across browsers, monitors, platforms, personal preferences - and so
are preferred by designers.

A px is a pixel, and that is an absolute measurement. While it will
be the same absolute measurement across platforms, if someone has
their font size really large, your 1px margin will be tiny, and mess
up your lovely formatting.

-BGW, no longer newbie but a novice. . .
Super-Nintento Chomers! I'm learnding! = )


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.