Page 1 of 1

Cumulus Generated Weather Page

Posted: Mon 12 Jul 2010 8:55 pm
by krmidas
I love how on the page that uses the Cumulus template http://krmidas.home.comcast.net/~krmida ... /index.htm, the background image is stationary, and the text and graphics "float" over the background. I assume this is done with the use of CSS.

I'd love to add this functionality to my page http://krmidas.home.comcast.net/~krmidas/yyyweather.htm, but don't know how. Can anyone assist?

-Tom

Re: Cumulus Generated Weather Page

Posted: Mon 12 Jul 2010 10:05 pm
by steve
You just need to add "background-attachment: fixed;" to your body style, like so:

Code: Select all

<body style="background-image: url(http://krmidas.home.comcast.net/~krmidas/Clouds.jpg); background-attachment: fixed;">
But you should also consider extracting all those inline styles from your page and putting them into a style sheet (CSS file).

Re: Cumulus Generated Weather Page

Posted: Tue 13 Jul 2010 1:44 am
by krmidas
That did the trick! Thanks.