css - background of a div not showing -


i cannot provide link this, i'm working on secured website, seem having issues getting background of div show background image. have right path, have checked online. there missing in code? of other background images on site work fine, 1 seems not work.

footerbar {     background-image: url(/images/art/footeremailbg.png);     background-repeat: repeat-x;     height: 68px;     width: 960px;     margin: 0px; }    

you're trying style <div>, css looking <footerbar>.

is footerbar class of div? if so, should be:

.footerbar {   background-image: url(/images/art/footeremailbg.png);   background-repeat: repeat-x;   height: 68px;   width: 960px;   margin: 0px; } 

if it's id of div, should be:

#footerbar {   background-image: url(/images/art/footeremailbg.png);   background-repeat: repeat-x;   height: 68px;   width: 960px;   margin: 0px; } 

Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -