View Full Version : Background problems


PrincessSammy
04-22-2004, 05:51 AM
Hi everyone,

Having problems, my background isn't showing up at all!

<style type="text/css">

body
{
background-image: url ("purgi.jpg");
background-attachment: no-repeat;
margin-top: 0;
margin-bottom: 0;
margin-left: 1px;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}

What am I doing wrong?

-Sammy

salomeyasobko
04-22-2004, 05:56 AM
you put "background-attachment: no-repeat;"

but it should either be

background-attachment: fixed [or scroll if you want the image to scroll with the page as people scroll down]

OR

background-repeat: no-repeat

or both :lol:

PrincessSammy
04-22-2004, 06:06 AM
body
{
background-image: url ("http://www.lowqualitycomics.com/caz/test/purgi.jpg");
background-repeat: no-repeat;
margin-top: 0;
margin-bottom: 0;
margin-left: 1px;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}



Still not working here is the link:

http://www.lowqualitycomics.com/caz/test


THanks,

Sammy

salomeyasobko
04-22-2004, 06:09 AM
try this:
<style type="text/css">
body
{
background-image: url(http://www.lowqualitycomics.com/caz/test/purgi.jpg);
background-repeat: no-repeat;
margin-top: 0;
margin-bottom: 0;
margin-left: 1px;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
</style>

if that doesn't work, then it's something with the padding and margin things.. try taking out any unneccessary ones if it doesn't work :o

Rosey
04-22-2004, 06:46 AM
The reason it's not showing up is because you have a space between url and the (

PrincessSammy
04-22-2004, 02:22 PM
There we go. THanks guys, man CSS is so picky hehehe ^_^