Français English Español Italiano Português
User Login    
 + User Registration
Connexion

Using max-width on images can make them disappear in IE8


Author : Roger Johansson | 456 Berea Street
Date : 2012-02-02T20:16:54+01:00
Views : 0

I recently ran into a problem that was really hard to figure out. I was working on a responsive design where I used img {max-width:100%;} to make sure that images would be downsized rather than overflow in narrower viewports.



It worked great everywhere... until I went to check in IE8. The site's logo was gone! None of the usual IE bug fixes cured the problem, and it took me quite a while to realise that max-width was part of the problem.

Read full post

Posted in , .

Copyright © Roger Johansson








URL : http://community.xoofoo.org/modules/actus_webmaster/view.article.php/6134
Trackback : http://community.xoofoo.org/modules/actus_webmaster/trackback.php/6134

The comments are owned by the poster. We aren't responsible for their content.
Poster Thread