[UPHPU] left align ordered list numbers

Tyler Gee geekout at gmail.com
Mon Aug 14 17:03:37 MDT 2006


.ol {
list-style-position: inside;
}

You would need to play with the padding-left to get it perfect, probably.

On 8/14/06, Wade Preston Shearer <lists at wadeshearer.com> wrote:
> > I'm not sure if I understand your question properly, but perhaps these
> > CSS properties will do what you are looking for:
>
> Browsers display ordered lists thus (pretend the underscores that I
> have used to retain formatting are not there)…
>
> __1.    asdf
> __2.    asdf
> __3.    asdf
> ...
> _10.    asdf
> _11.    asdf
> _12.    asdf
> ...
> 100.    asdf
> 101.    asdf
> 102.    asdf
>
>
> I would like a list formatted list this:
>
> 1.      asdf
> 2.      asdf
> 3.      asdf
> ...
> 10.     asdf
> 11.     asdf
> 12.     asdf
> ...
> 100.    asdf
> 101.    asdf
>
>
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
>
>


-- 
~Tyler



More information about the UPHPU mailing list