[56K warn] Two backgrounds, one repeated and one fixed?

JavaScript and client side scripting.

Moderator: General Moderators

matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: [56K warn] Two backgrounds, one repeated and one fixed?

Post by matthijs »

Ok. If you exactly copy-paste the code I gave to a file. Save it on your computer. Open in a browser. What do you see then?
User avatar
summerbum
Forum Newbie
Posts: 12
Joined: Tue Feb 26, 2008 7:49 pm
Location: The Valley, Canada

Re: [56K warn] Two backgrounds, one repeated and one fixed?

Post by summerbum »

I see no background of any kind. And I opened it as a php, a css and a html document.
None of them worked. It's because computers hate me! lol
I appreciate your help though, it makes me feel a little more sane.
User avatar
summerbum
Forum Newbie
Posts: 12
Joined: Tue Feb 26, 2008 7:49 pm
Location: The Valley, Canada

Re: [56K warn] Two backgrounds, one repeated and one fixed?

Post by summerbum »

Oh my gosh!!! I am SUCH a silly goose...

Code: Select all

<style type="text/css" media="screen">
body {
background:#ddd url[size=200](http://i230.photobucket.com/albums/ee12 ... ground.gif)[/size] 0 0 repeat-x;
// now you have a repeating img for the body
}
#wrapper {
background:#fff url(http://i230.photobucket.com/albums/ee12 ... wh3ad7.gif) 0 0 no-repeat;
// this will overlap the body one and not repeat
}
</style>
I looked at it again, and I feel really stupid. :mrgreen: I didnt upload into my directory so the dot dot dot made it a broken link.
That was my problem! And your definatly my bestfriend!! Thanks a million <3 :wink:
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: [56K warn] Two backgrounds, one repeated and one fixed?

Post by matthijs »

Glad yo have your images now :)
Post Reply