Hi Harri, *;

2011/1/16 Harri Pitkänen <[email protected]>:
>
> It appears that list items within numbered (ol) lists are shifted a bit too
> much left. You can see the problem here:
>
>  http://fi.libreoffice.org/lataa/asennusohjeet/macintosh/
>
> I'd expect the numbers to be aligned at the same level as the paragraph text.

This would only be possible with list-style-position:inside, but then
the second line of a <li> wouldn't align with the actual text-content
of the li (but with the numbering), and the numbering itself wouldn't
align-right anymore (when using more than 10 elements)

> The problem does not occur with ul lists where the CSS adds some padding for
> li elements to handle this. Experimenting with Firebug leads me to think that
> something like this might work as a fix for this problem:
>
> .typography ol li {
>        margin-left: 21px;
> }

I didn't try to align it exactly, but rather used a bigger margin, as
there might be list with 10 items or more, and then it would look
mismatched again. so now ol-lists are clearly indented.

ciao
Christian

-- 
Unsubscribe instructions: E-mail to [email protected]
List archive: http://listarchives.libreoffice.org/www/website/
*** All posts to this list are publicly archived for eternity ***

Reply via email to