Patti Evans wrote:
> Aren't <img> width and height supposed to be given in px? Could it be
>  because the image is wrapped in <a> tags? The other images on my 
> page don't get the warning.

The (X)HTML width-attribute for the img-element is 'px' by default, so
we don't write 'width="74px"', just 'width="74"'.
So, Tidy warns correctly, AFAIK.

We can write 'width="74%"', if percentage is what we want.
Other units won't work... defaults to pixels in some browsers, while
others simply ignore the entire attribute.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to