W3C home > Mailing lists > Public > public-html@w3.org > September 2008

align justify? Re: Comparing conformance requirements against real-world docs

From: Karl Dubost <karl@w3.org>
Date: Mon, 1 Sep 2008 09:54:40 +0900
Cc: HTML WG <public-html@w3.org>
Message-Id: <5629FC75-41B5-47D9-896F-E06E4B69081E@w3.org>
To: Henri Sivonen <hsivonen@iki.fi>

Hi Henri thanks for the survey

Le 1 sept. 2008 à 02:23, Henri Sivonen a écrit :
>> 0.0529	Attribute “align” not allowed on element “div” at this point.
>> 0.0282	Attribute “align” not allowed on element “p” at this point.
>> 0.0372	Attribute “align” not allowed on element “img” at this point.
> Wow.
> It would be interesting to examine the use cases for aligning divs  
> and paragraphs. I'd be interested to know if the popularity of the  
> align attribute has something to do with legacy RTL authoring habits.

For p, and maybe div, would be align="justify".
For img,
    * "right or left" when you want to put an image
      in a paragraph. Very common
    * "center" for some figures in between paragraphs.
      Though <center> was most likely to be used.
    * "bottom" because of Netscape shift in pixels,
      which triggered in most stylesheets the infamous
         img {vertical-align:bottom;}

It may be informative to resample these documents (containing align  
attribute) and extract the attribute values.

Karl Dubost - W3C
Be Strict To Be Cool
Received on Monday, 1 September 2008 00:55:21 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:37 UTC