[thelist] Images dimensions in CSS?

T.Abbey Abbey at abbeyink.com
Thu Feb 8 16:44:31 CST 2001


At 03:03 PM 2/8/01 -0500, you wrote:
>If you submit a compliant page to the W3C's CSS validator, it returns your 
>'CSS check' badge with the dimensions specified in an inline style  (i.e., 
><img src="x.gif" style="width : 16px; height : 16px; border : 0;">).  I've 
>found that this is equally effective from an external stylesheet (I use 
>the class="" att.), and the w3c html & css validators don't mind a bit. NS 
>4.7 seems to be ignoring the 'border' part, though.  probably also the 
>width & height, too, although with just three 88x30 pictures, i haven't 
>found this too much of an issue. . .


ahem, the W3C's *badge* comes back with mixed case tags that will /not/ 
pass the W3C's XHTML validator -- be careful, be very careful. And, since 
NN doesn't recognize a lot of the img styles, that's kind of why they have 
XHTML 1.0 Trans -- while I would /love/ to see full CSS support, this is 
not a perfect world (wide web).

FWIW
~/ a b b e y  /~




More information about the thelist mailing list