Have you ever uploaded an image that might have been a tad bigger than the width of your content area? I know I have! So here is a little CSS fix to handle these situations.
.post img { max-width: 600px; height: auto; }
That’s it, really simple huh. Just make sure that you change the .post
to the correct body class(which starts with a “.“) or body ID(which starts with a “#“).
Would you like a quick explanation?
The CSS is just telling any image inside the class of .post
to not be more than 600px wide. By the way make sure you change it to fit the dimension of your content width. And the height attribute is set to auto to automatically change the height to match the new width. 🙂
I am at the WordCamp convention in Las Vegas and
This post discusses the importance of detecting and removing plagiarized content for credibility, originality, avoiding…
I talked about Disabling search engine on search pages in a previous post using the…
The time is near, only 6 hours and some change to to get your tickets…
A good idea when trying to get the most out of your blog is usging…