You have to give div#rightbackground hasLayout. You can use the proprietary zoom:1 to do this:
<!--[if lte IE7]> <style type="text/css"> div#rightbackground { zoom:1; } </style> <![endif]--> ~Chetan On Fri, Dec 10, 2010 at 5:23 PM, Albert van der Veen <albert.lijs...@xs4all.nl> wrote: > Hi all, > > Please have a look at this site: http://www.debanne.nl/ > > For some reason the large background photo on the right sometimes shows and > sometimes not in IE6 and IE7. There are different pictures on every page > which is accomplished by overruling the css with an extra style element in > the header (generated by the CMS): > > <styletype="text/css" media="screen">#rightbackground { > background-image:url("uploads/media/hp-foto-new.jpg"); }</style> > > Any idea what causes this? > > Thanks, > Albert > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/