Connect with us

Tips & Tricks

Sick of images being to large for the content area?

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.

Resize those large images using CSS

Resize those large images using CSS

.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. 🙂

7 Comments

7 Comments

  1. Pingback: Weekend Links - Mar 28, 2009 | OMNINOGGIN

You must be logged in to post a comment Login

Random Search Terms

Title

Top Articles

powered by WassUp

Recent Posts: Fully Net Worth . com

Marie Osmond Net Worth: 5 Interesting Facts You Should Know

Marie Osmond Net Worth: 5 Interesting Facts You Should Know

Marie Osmond is an American actress, singer, and designer. She gained international recognition in the 1970s after her success in country music. Marie is also known for hosting the television variety show “Donny & Marie” with her brother Donny Osmond. Here are five interesting facts about Marie Osmond 1. Marie Osmond net worth is estimated […]

Blueface Net Worth: 5 Interesting Facts About the Rapper

Blueface Net Worth: 5 Interesting Facts About the Rapper

Blueface Bleedem, or simply Blueface, is an American rapper from Los Angeles currently signed to Birdman’s Cash Money West label. He rose to fame after releasing single ‘Deadlocs’ on music platform SoundCloud. The song has received more than 2.5 million streams. Here are some of the interesting facts about Blueface. 1. Blueface net worth is […]

FaZe Tfue Net Worth: 5 Interesting Facts You Should Know

FaZe Tfue Net Worth: 5 Interesting Facts You Should Know

Turner Tenney, professionally known as FaZe Tfue or Tfue is an American gamer, Twitch streamer and a member of FaZe Clan. Some people considered him the better player than Ninja and also ‘The Best Player in the World’. Here are some of the interesting facts about Faze Tfue including his path to success, net worth, […]