/* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */ /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */ }
Here’s some CSS for Wordpress to make the images in your posts responsive.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* responsive images */ .entry-contentimg, .comment-contentimg, .widgetimg, div.wp-caption { max-width: 97.5%!important; /* Fluid images for posts, comments, and widgets */ } img[class*="align"], img[class*="wp-image-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } img.size-full { max-width: 97.5%; width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ }