[wp-hackers] Twenty Ten theme issue?

Rich Pedley elfin at elfden.co.uk
Sun Aug 15 21:15:35 UTC 2010


Hi,

following on from this thread:
http://wordpress.org/support/topic/image-not-resizing-in-wysiwyg

It looks like in the default TwentyTen CSS there is this portion:
#content img {
	margin: 0;
	height: auto;
	max-width: 640px;
	width: auto;
}

That width:auto (at least in Firefox, causes the image to display at 
the size it was inserted, rather than the correct resized size that is 
actually in the img tag.

Can others confirm? and is it a bug of that theme?

Rich



More information about the wp-hackers mailing list