Have you ever had an image show up on your wordpress blog which is to large, causing problems?  This is common for WordPress blogs that have so many users, where some users may not know how big they can make the images.

This will be solve by using stylesheet. The following code allows to remove this problem.

.postcontent img {
max-width: 300px;
height: auto;

within the above code snippet, you’ll want to replace postcontent with whatever object ID or CLASS your theme uses for the post. You can also adjust the 300px to the maximum widt.

Note: This hack may not work on some versions of Internet Explorer.

Previous article10+ Excellent WP Plugins for daily use!
Next articleHow To Create Your Permalink Structure More User And SEO-friendly



Please enter your comment!
Please enter your name here