The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › List alignment problem
Hi folks. Just wondering if I could get help with this. I’ve tried multiple things but can’t get all lines to a line up. Both the OL and the LI. This is the CSS I’m using, and a sample of what the page looks like can be found here
OL { counter-reset: item } LI { display: block } LI:before { content: counters(item, “.”) ” “; counter-increment: item; font-weight: bold; padding-right:10px;}
This perhaps?
ol { padding: 0; }
Unfortunately that just brings both indents all the way to the left
In that case I suggest ol ol…
ol ol