![]() |
|
#1
|
|||
|
|||
|
...Okay, so *this* 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. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
What code are you using to make it not repeat?
__________________
by Christopher |
|
#3
|
|||
|
|||
|
Well, this is what I put for the background (using CSS):
body { background-image: http://i4.photobucket.com/albums/y12..._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 >_> |
|
#4
|
||||
|
||||
|
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;}
__________________
by Christopher |
|
#5
|
|||
|
|||
|
.....Nope, it's still going blank... ._.;;
|
|
#6
|
|||
|
|||
|
The link your using isn't working. And I can't see a link to any css or any css in your source code.
|
|
#7
|
|||
|
|||
|
...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*)
|
|
#8
|
|||
|
|||
|
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. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Background not showing properly in Firefox | unique_name24601 | Neopets | 1 | 10-23-2005 09:18 PM |
| HTML background image not showing (a bit of CSS, too) | Neurologist | HTML Help | 3 | 03-18-2005 11:22 PM |
| Background not showing >.< | ohioisforlovers | Xanga | 1 | 12-24-2004 04:49 AM |
| Background not showing?? | Stickievix | HTML Help | 7 | 06-24-2004 04:38 PM |
| my background isn't showing | Sesshomaru | HTML Help | 12 | 03-01-2003 10:34 AM |