[wp-hackers] Twenty Ten theme issue?

Otto otto at ottodestruct.com
Mon Aug 16 15:23:51 UTC 2010


On Mon, Aug 16, 2010 at 5:33 AM, Rich Pedley <elfin at elfden.co.uk> wrote:
> But there is also a case for the width and height attributes on the img
> (isn't it still recommended?).

It's recommended to have them in order to give browsers a hint as to
their size for layout, but it's still wrong to use them for resizing.

Yes, yes, lots of people use it that way. Still wrong because CSS
takes precedence over those attributes. We should fix WP to do the
right thing here, I'd say. Should be simple enough to do, really.

-Otto


More information about the wp-hackers mailing list