Jump to content

Recommended Posts

#header {background: #1F1F1F url('../images/logo.png') no-repeat left top;}

try this out

 

try this

#header {  background: #1F1F1F, url('../images/logo.png') no-repeat left top;}

you needed the comma between the color and the image

Link to comment
Share on other sites

 

???? OOOHHH NNOOO you don't

oh, well now i know, i normally add the comma for it to work

Link to comment
Share on other sites

oh, well now i know, i normally add the comma for it to work

 

That only works because the syntax for multiple background images uses a comma. Browsers that don't support multiple background images will not work with that syntax.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...