Re: [CSSWG] Your opinion needed : Position of list-item markers

On Nov 26, 2008, at 4:04 PM, "L. David Baron" <dbaron@dbaron.org> wrote:

>
> On Wednesday 2008-11-26 17:50 -0600, Tab Atkins Jr. wrote:
>> (Also, authors who don't use CSS at all won't suffer either way from
>> this decision, because you can't text-align without CSS.  Authors who
>> know a little bit of CSS will find that the problem is trivial to fix
>> and well within their skill level and capability when they ask around
>> on forums or read blog posts or just poke around a bit by  
>> themselves.)
>
> Common examples without CSS are likely to be things like:
>
> <center>
>  <ul>
>    <li>Hi!</li>
>  </ul>
> </center>

If you are worried about that causing trouble in the wild when the  
browser is updated (and I am not, particularly) you could put  
something like the following into your default browser stylesheet:

center ul, center ol { list-item-style: inside; }

That way, the HTML-only authors would see little or no change, and CSS  
authors could easily override it.

>
>
> or
>
> <img align="left">
> <ul>
>  <li>Hi!</li>
> </ul>
>
> -David
>
> -- 
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
>

Received on Thursday, 27 November 2008 00:50:01 UTC