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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -