Log in

View Full Version : Now why doesn't this background image show up?



lord_havoc
06-01-2007, 04:51 AM
I'm trying to get a background image to show up but for some reason it won't.

The CSS:



#head {
background: #000000 url("http://www.cyanideperfection.net/test/wp-content/themes/default/images/bluehead.PNG");
}


The page is http://www.cyanideperfection.net/test/index.php

codeexploiter
06-01-2007, 05:08 AM
Try the following CSS


#head{
background-image: url("http://www.cyanideperfection.net/test/wp-content/themes/default/images/bluehead.PNG");
background-repeat: no-repeat;
width:800px;
height:200px;
background-color: #000;
}

lord_havoc
06-01-2007, 05:33 AM
Still not working!

codeexploiter
06-01-2007, 06:15 AM
Can you provide me a link to your testing page in which it is not working. The link you've provided earlier shows the mentioned image.

siervo
06-01-2007, 05:59 PM
#head{
background-image: url('http://www.cyanideperfection.net/test/wp-content/themes/default/images/bluehead.PNG');
background-repeat: no-repeat;
width:800px;
height:200px;
background-color: #00000;
}