Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Harri, *;

2011/1/16 Harri Pitkänen <hatapitk@iki.fi>:

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 website+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/website/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.