div image maintain aspect ratio

 

 

 

 

Is there a script that when div resize(browser) it will maintain aspect ratio? Whatever the reason, its very useful since it permits you to set an intrinsic ratio, e.g. If the image size is 200 x 100, then it will be adjusted to show as 100 x 50. body>

Contains no IMG tags or JavaScript

 

Leave a reply

 

Copyright © 2018.