W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: Image-dislay status media query for reducing reflows -was Re: FAQ about reasons behind CSS

From: Emrah BASKAYA <emrahbaskaya@hesido.com>
Date: Thu, 30 Jun 2005 15:04:18 +0300
To: "Philip TAYLOR" <P.Taylor@rhul.ac.uk>
Cc: "Laurens Holst" <lholst@students.cs.uu.nl>, "www-style.w3.org" <www-style@w3.org>
Message-ID: <op.ss6mhgd68nstxa@lomarnona>

On Thu, 30 Jun 2005 15:47:47 +0300, Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>  
wrote:

> Emrah BASKAYA wrote:
>
> [snip]
>
> What /is/ the "size of the Alt tag" ?  The size if the Alt contents
> were displayed all on one line ?  Or if they were wrapped to fit
> within (say) a 4x3 aspect ratio box ?  Or what ?  And will you
> need a new CSS property
>
> 	ALT {font-size : 8pt; white-space: nowrap}
>
> or similar ?

Ability to style the alt tags would be very nice, I am not aware how  
currently the alt tags inherit their properties, is there are rule for it  
in CSS or HTML?

Also, the problem as to what to do with a long line would be a problem  
only when both img sizes are set to 'auto' (someone may offer a better  
property value than auto tho, to imply that alt tag will be used as size  
reference). There wouldn't be a problem  if the width is set, or limited  
with a max-width.

Tho, styling alt tags would be so nice.

Now, my question is, is the content declared in alt is considered a child  
of the image? I think not, but if it was, we could style img *, alt would  
be included automatically.

-- 
Emrah BASKAYA
www.hesido.com
Received on Thursday, 30 June 2005 12:04:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:38 GMT