change width of image (problem in IE)
Posted: Wed Feb 03, 2010 7:12 am
So, I used to use <img src="image" style="max-width: 60%">
But that didn't really work. (Worked in Chrome i think, or at least worked on my localhost, not sure if it worked on site)
So I changed it to
<img src="image" width='60%' height='*'>
But this only works in Chrome, ff and safari, not in IE (I dont know in any other browsers)
How can I fix this, using css/php/html?
Not a hard answer, but I've been searching and can't really find a way that does it properly...
But that didn't really work. (Worked in Chrome i think, or at least worked on my localhost, not sure if it worked on site)
So I changed it to
<img src="image" width='60%' height='*'>
But this only works in Chrome, ff and safari, not in IE (I dont know in any other browsers)
How can I fix this, using css/php/html?
Not a hard answer, but I've been searching and can't really find a way that does it properly...