How'd they do it?

They have: 12 posts

Joined: Jul 1999

I went to a California government site (www.year2000.ca.gov/main/changes.asp) and liked what they did with their stationary background under a movable forground (text). I can see many applications for this process in stuff I do. I looked at (and printed out - "view", "source") the code trying to figure out how they did it. Probably old-hat to most of you, but not to me. I'm guessing that it is the line (essentially):
Style="BACKGROUND-ATTACHMENT: fixed; BACKGROUND-REPEAT: no-repeat"

Can anyone explane (1) how they did it, and (2) if it IS the above line, how it works? Or do I just need to spend more time studying HTML?

Thanks

D.A.M.

Brooke's picture

She has: 681 posts

Joined: Feb 1999

Try this..

<body background="images/yourimage.gif" bgproperties="fixed">

Brooke

------------------
Providing quality websites for businesses and individuals!
www.cataluna.com

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

or check:

www.dynamicdrive.com

Jack

[This message has been edited by Jack Michaelson (edited 20 January 2000).]

They have: 297 posts

Joined: Apr 1999

You better check dynamicdrive.com because the code above is IE specific.

Malte

------------------
Malte Ubl - www.Boardzilla.org
Communication: public<->programmers
of the Boardzilla BB

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.