HTML sizing attributes tag have to be plain numbers, with no units; in the case of width and height for images, it is assumed that the value is in pixels.
That is, this HTML:: <img width="74" ... > is equivalent to this CSS version: <img style="width: 74px" ... > Of course, it would be better still to use some other means of associating that CSS style with that element; the less coupled the style with the markup, the better. On 10/16/06, Patti Evans <[EMAIL PROTECTED]> wrote: > Can someone explain to me why Tidy gives the following warning: > > - Warning: <img> attribute "width" has invalid value "74px" - > > 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. > > Thanks, > Patti > > --- > [TotalNet (www.totalnet.us) has scanned this E-mail for viruses using Declude > Anti-Virus] > > ______________________________________________________________________ > 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/ > -- Mark J. Reed <[EMAIL PROTECTED]> ______________________________________________________________________ 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/