CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Image dimension question (http://www.codingforums.com/showthread.php?t=283184)

Splattery 11-29-2012 02:36 AM

Image dimension question
 
So, if I'm setting the max width for all the images that appear on a page like this:
Code:

{max-width: 470px!important}
Is it possible to set it up so that the height of an image is automatically changed so the proportions don't get messed up by the change in width?
Also, I'm not all that knowledgeable in CSS, so I apologize if the answer is really obvious or something.
Thanks!

abduraooft 11-29-2012 07:30 AM

Quote:

Is it possible to set it up so that the height of an image is automatically changed so the proportions don't get messed up by the change in width?
How those <img> tags added to your page? Is it by some serverside code or manually coded?


All times are GMT +1. The time now is 01:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.