W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: About dropping the style attribute

From: Maurice Carey <maurice@thymeonline.com>
Date: Thu, 28 Jun 2007 10:41:26 -0400
To: HTML Working Group <public-html@w3.org>
Message-ID: <C2A940D6.300A%maurice@thymeonline.com>

On 6/27/07 4:55 AM, "Jens Meiert" <jens.meiert@erde3.com> wrote:

>> As for unique formatting, that's something we already do via #id,
> 
> Assuming that an exemplary content rich site probably allows images from 100
> pixel minimum height/width to maximum 300 pixel height/width, you'd recommend
> to create 80,199 IDs? Or, probably discovering that there might be two images
> of the same size on a page, 201 classes for assigning the individual width,
> and additional 201 classes for the height (402 image measurement related
> classes)?
> 
> I'm pretty sure that /nobody/ here wants to do that, even when I'm
> exaggerating to illustrate that problem.

Not exaggerating.

I've done galleries where few of the imaged had the same dimensions. In the
php I'd get the height and width of the file and assign proper height="" and
width="" values on the img tag. But if we're removing those 2 attributes I'd
have to use style

-- 
::   thyme online ltd
::   po box cb13650  nassau  the bahamas
::   website: http://www.thymeonline.com/
::   tel: 242 327-1864  fax: 242 377 1038
Received on Thursday, 28 June 2007 14:41:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:01 GMT