public marks

PUBLIC MARKS from srcmax with tags png & bug

10 November 2010 15:15

PNG background-repeat bug in Internet Explorer 7 and 8 « SteveLove.org

For this project, I have a page template with several container elements that all have a 1 pixel by 1 pixel PNG background set to repeat, and it looks great when testing it in IE 7 and IE 8. So, I created my next page template with the same styling. This time, IE 7 and 8 both choked when handling the background-repeat. Instead of repeating, both of these browsers inexplicably tried to stretch the 1×1 image across the entire container. The PNG happened to have 60 percent alpha transparency, but I’m not sure that matters. A coworker suggested making it a 10×10 pixel image instead, just to see what happens. Surprise, surprise. That fixed it.

srcmax's TAGS related to tag png

apng +   background +   bug +   compression +   css +   developpement +   image +   images +   internet explorer +   intégration +   jpg +   jQuery +   js +   optimisation +   php +   plugin +   pngfix +   svg +   tools +   xhtml +