I have images of various sizes from external source and I want them fit to height 100 or width 100 and keep their proportinal size... so I can not use height=100 widht=100 as attributes... so right now I am changing only width but when comes picture wide 20 and high 100 than it change widht to 100 and hight to 500 and in this case I need to keep height 100. Is there some simple CSS or something else I could use?
if only modifying html attribute, then use max-width:100px; and max-height:100px; in the css so #id img{ max-width:100px; max-height:100px; } will do that
This is NOT the market forum . Go post your sloppy offers over there . That would be the way to go . Or just simple width and height attributes .