On one of my recent "hunts" for formatting blog images, I found this code. And what this does is format all the images to a fixed width. The height automatically adjusts, so yay!
So, this is what you need to do.
This works on Blogger as of 1/16/2013.
Go to Template, and click Customize.
Then go to Advanced and then click Custom CSS.
Copy and paste this code. Then click on Apply to Blog.
.post-body img {
width: 400px;
height: auto;
}
.post table.tr-caption-container img {
width: 400px;
height: auto;
}
You can change the 400px to any value you want.



No comments:
Post a Comment
Let us know if this post helped you.
Comments may be moderated, and may not appear immediately.