Blog

Monday, November 16, 2009

Ask for help: background-image disappears on Internet Explorer 7 when in a div with float

I came across a strange CSS bug with IE 7 today. When I have a container that is floating and I use a text replacement technique the image does not show. Remove the float and it does. Or alternatively remove the DocType and it also works.

Browsing the 'net I haven't managed to find this bug. Have you come across this before? Do you have an explanation?

Please note this blog is no longer maintained. Please visit CivilCode Inc - Custom Software Development.