Reynier Perez Mira wrote: > .divBanner { > padding: .2em; > background: url(../theme_image/bannerbck.gif); > /* background-color: #dddddd; */ > border-bottom: 1px solid gray; > }
Hi, It may be something in your markup that is causing the problem or perhaps a conflict with another class. The following works fine for me in Firefox and IE on Win XP, SP-2. <div class="divBanner">Some content for this div...</div> .divBanner { background: #DDD url(../theme_image/bannerbck.gif); border-bottom: 1px solid gray; padding: 0.2em; } > And how I can replace image when it doesn't exists with color > something like this In the above, adding the background color (#DDD) to 'background:' will provide a default color for the element in the case images are unavailable or undesired. -- Best regards, Michael Wilson ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/