D F
asked on
fix image max width and/or height?
I know you can set a image's height and/or width but can you set a max height and width so We a person puts a image my site wont allow it to expand a certain size. I dont' want to set the size because if their image is smaller then my set size I don't want it to stretch?
<img src="" alt="" (max)width="150" (max)height="150" border="" />
<img src="" alt="" (max)width="150" (max)height="150" border="" />
put your img tag with width=100% in to the div of your ficed size this will solve your problem.
Regards,
nishant
Regards,
nishant
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect thank you
See here... http://www.webdeveloper.com/forum/showthread.php?t=118246