Peophin-chan
01-08-2006, 08:03 PM
...Okay, so *this* (http://www.freewebs.com/peophinchan/) is my website. I am trying to get it so that the background doesn't repeat on other resolutions. I still want it to scroll, but not repeat. The only way I know of to do this is with CSS. However! Whenever I enter the CSS code for a background, it mysteriously disappears, and all I have for a background is a white space. I don't know why this is happening, as I entered the code exactly the way it's displayed on the site. Could someone please help me either figure out what's wrong with the CSS, or tell me a way to stop the background from repeating using HTML?
Thanks.
Chris
01-08-2006, 08:14 PM
What code are you using to make it not repeat?
Peophin-chan
01-08-2006, 08:31 PM
Well, this is what I put for the background (using CSS):
body
{ background-image: http://i4.photobucket.com/albums/y121/Peophinchan/osa2_layout_2.jpg;
background-repeat: no-repeat; }
I'm still just a novice at this, so please tell me if I'm doing something wrong >_>
Chris
01-08-2006, 08:42 PM
Not sure if this will make a difference, but try:
body{
background-image: url(http://i4.photobucket.com/albums/y12..._layout_2.jpg);
background-repeat: no-repeat;}
Peophin-chan
01-08-2006, 09:18 PM
.....Nope, it's still going blank... ._.;;
The link your using isn't working. And I can't see a link to any css or any css in your source code.
Peophin-chan
01-08-2006, 10:06 PM
...I'm temporarily using HTML till I can figure it out _-_ And I'm using the same image for both the CSS and HTML. But for some reason, it's not showing up when I use CSS..... (*this image* (http://i4.photobucket.com/albums/y121/Peophinchan/osa2_layout_2.jpg))
When I've looked at the source code for your page after the one with the enter pic on your css is in the body tags, it needs to go in the head tags.
Have you got the css for the div layer2 on a seperate style sheet? If so you need to put all your css together in one place.