Reputation: 17
my background is not loading. It is embedded in the header tag loading through the style sheet. See css below:
header{
margin: 0;
background-image: url(/images/sagage_header900.png) no-repeat ;
display: block;
}
Thanx in advance!
Upvotes: 0
Views: 86
Reputation: 10864
Try removing no-repeat
background-image: url(/images/sagage_header900.png);
if you want to add background-repeat:
background-repeat: no-repeat
If still doesn't work, try adding !important
to background-image as follow:
background-image: url(/images/sagage_header900.png)!important;
Upvotes: 1
Reputation: 1278
Don't use no-repeat
in background-image
property.
Try this :
background: url(/images/sagage_header900.png) no-repeat;
OR
background-image: url(/images/sagage_header900.png);
background-repeat: no-repeat;
Upvotes: 1