From: kbutterly on
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
From: Rik Wasmus on
On Thu, 24 Jan 2008 18:14:06 +0100, kbutterly <kbutterly(a)yahoo.com> wrote:

> 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-position:outside; just to be sure does wonders.
--
Rik Wasmus