loserw/a guitar
06-23-2004, 08:57 PM
So this is my background CSS, but it won't seem to work for me. Anyone have any ideas as to why it won't?
<style type="style/css">
<!--
body
{ background: #000000;
background-image: url(http://img44.photobucket.com/albums/v136/acoustictragedy/random/thrusday-bg.jpg);
background-repeat: no-repeat;
background-position: center, center;
background-attachment: fixed; }
-->
</style>
MaGiCSuN
06-23-2004, 11:08 PM
there's a , between center and center. That might be it. and you had background: #000000; instead of background-color: #000000; Try this and replace full url here with the url of the background. The forum shortens it that's why i left it out :) :
<style type="style/css">
<!--
body
{ background-color: #000000;
background-image: url(full url here);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed; }
-->
</style>
if you are working with an external (seperate) css page, take out the STYLE tags and the comment tags.
loserw/a guitar
06-24-2004, 08:49 PM
:-/ it's still not working. http://www.geocities.com/resultofboredum/index.html is my homepage (if it has any helpful value) and the background graphic still sin't showing up.
kittycat
06-24-2004, 10:25 PM
I get a 'page not found' when trying to access the image, make sure you've uploaded it to the server.
Your CSS still isn't correct, it should be
<style type="style/css">
<!--
body
{ background-color: #000000;
background-image: url(urlsr.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed; }
-->
</style>
loserw/a guitar
06-24-2004, 11:40 PM
the background image wasn't working so i think i'll just try to upload something new, but thank you all anyway. my friend (for some strange reason) decided he wanted to mess it up and save it. annoying friends are annoying.