![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible with css to make the numbers in a numbered list left- aligned (as in this mock-up where I've used 2-column tables to achieve it: http://tinyurl.com/yv6njd - as opposed to the default of right- aligned numbers as in this mock-up: http://tinyurl.com/2dxer5)? |
|
And if it *is* possible, can one define the size of the hanging indent, so that it looks like my left-aligned mock-up looks? |
#3
| |||
| |||
|
|
In article 5c3c46cf-d374-4bc9-893c-4d8e1e0ef... (AT) s19g2000prg (DOT) googlegroups.co m>, Dave Rado <dave.r... (AT) dsl (DOT) pipex.com> wrote: Is it possible with css to make the numbers in a numbered list left- aligned (as in this mock-up where I've used 2-column tables to achieve it:http://tinyurl.com/yv6njd- as opposed to the default of right- aligned numbers as in this mock-up:http://tinyurl.com/2dxer5)? li {list-style-position: inside;} might get you the numbering alignment you want. But at the cost of not getting the text alignment you want! (Frankly, and perhaps btw, I see the normal right aligned numbers as being far more natural and better, think what happens when you get into big numbers.) Anyway, if you really want what you want, I have cleared the way for you in another thread to use a table. Here is an excellent demonstration of a good reason to replace a simple two col table for an ordered list. Why bother with trying to dream up css tricks to achieve your aim? And if it *is* possible, can one define the size of the hanging indent, so that it looks like my left-aligned mock-up looks? -- dorayme |
![]() |
| Thread Tools | |
| Display Modes | |
| |