I have this style:
.divBanner {
        padding: .2em;
        background: url(../theme_image/bannerbck.gif);
/*      background-color: #dddddd; */
        border-bottom: 1px solid gray;
}
It works in IE but not in Firefox, why?
And how I can replace image when it doesn't exists with color something like 
this
if (exists(../theme_image/bannerbck.gif))
 background =  ../theme_image/bannerbck.gif
else
 background = #dddddd;

PD: Soury for the code but I'm not see another way.
Cheers
ReynierPM
Usuario registrado de Linux: 310201
*************************************************
No basta con alcanzar la sabiduría, es necesario saber utilizarla. 


______________________________________________________________________
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/

Reply via email to