Daniel Beardsmore wrote:
> See, the indentation no longer works when you do this. Normally, the 
> bullets and the text sit in two separate virtual columns:
> 
>  1. This is some text that will wrap onto
>     a new line
>  2. Here is another bullet
> 
> but this technique causes the text to wrap underneath the marker:
> 
>  1. This is some text that will wrap onto
>  a new line
>  2. Here is another bullet
> 
> Is there a way to correct this? So far, I can't find anything that works.

Nothing full-proof, or as elegant, that I can think of...

li {padding-left: 1.5em;}

li:before {
content: counter(list) ". ";
counter-increment: list;
color: #F00;
display: inline;
left: -1.5em;
width: 1.5em;}


Regards,
Barney
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to