HighDots Forums  

can i adjust the spacing between number and item in numbered list?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss can i adjust the spacing between number and item in numbered list? in the Cascading Style Sheets forum.



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

Default can i adjust the spacing between number and item in numbered list? - 01-24-2008 , 11:14 AM






Good afternoon all,

I have a basic ordered list:

<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>

The resultant list:
1. Item 1
2. Item 2

has too much space between the number and the item, between '1.' and
'Item 1'. Is there a property that controls this?

Thanks,
Kathryn

Reply With Quote
  #2  
Old   
Rik Wasmus
 
Posts: n/a

Default Re: can i adjust the spacing between number and item in numbered list? - 01-24-2008 , 11:18 AM






On Thu, 24 Jan 2008 18:14:06 +0100, kbutterly <kbutterly (AT) yahoo (DOT) com> wrote:

Quote:
Good afternoon all,

I have a basic ordered list:

ol
li>Item 1</li
li>Item 2</li
/ol

The resultant list:
1. Item 1
2. Item 2

has too much space between the number and the item, between '1.' and
'Item 1'. Is there a property that controls this?
Different UA's 'create' the space differently: some with padding, others
with margin. Using CSS to set one of the two to 0 (I usually use margin
for the 'space', and set padding to 0), with a
list-style-positionutside; just to be sure does wonders.
--
Rik Wasmus


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 - 2008, Jelsoft Enterprises Ltd.