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

On Wed, Nov 26, 2008 at 6: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>

Damn, I forgot about <center> centering text as well.

> <img align="left">
> <ul>
>  <li>Hi!</li>
> </ul>

Did you leave something out of this example?  I don't understand how it applies.

Even in the case of <center>, though, I'll still argue that, from a
design standpoint, having the markers move to the left edge isn't
horrifying.  As well, as I said before, the visual changes resulting
from the trivial fix (moving the marker inside) aren't significant
when the text is centered.

In the worse case - an author with absolutely *no* CSS knowledge -
since they obviously don't care about semantics anyway (they're using
<center>, after all) they can just paste a bullet character directly
into the text.  (This is relatively common anyway - the "designers"
before me at my company consistently implemented <ul>s with a
two-column table, e.g.
<table><tr><td>&bull;</td><td>...</td></tr>...</table>.  I still have
nightmares.)

~TJ

Received on Thursday, 27 November 2008 00:43:32 UTC