Just do:
.option1 {
background-color: #d7e8f3;
background-image: url(bg_option1.jpg);
}
.option2 {
background-color: #c4d4e8;
background-image: url(bg_option2.jpg);
}
(or div.option1)
and it works fine in IE.
// L
J. Biechele wrote:
> Hi,
>
> first the link to the sample page with inline styles:
> http://www.cadutamassi.com/test/test.html
>
> Could anybody explain me please why in IE the background image of
> "Option2" does not show up, means the styles for option 2 aren't
> recoginzed at all in IE? With FF this works fine.
>
> I know the HTML Code in the "test.html" isn't valid because of the
> duplicate ids in <div id="startpageExtra" ..
> In my original page only one of these options is present at a time like
> rotating banners. But the background image doesn't show up either in IE.
>
> Thanks for any hint or pointing me to where I can read more to
> understand this behaviour and how to solve it.
> Josef
>
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
> __________ NOD32 1.1827 (20061023) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
--
Lars Huring
Grafiker / Front-end
[EMAIL PROTECTED]
+46 (0)910-171 71
+46 (0)70-356 26 70
www.mammon.se
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/