Weather by You!

Templates and Projects support => Templates and Projects discussion => Topic started by: peter wood on July 28, 2012, 02:22:37 PM

Title: graphics
Post by: peter wood on July 28, 2012, 02:22:37 PM
Hi Jacques
                  i would like to have the float graphics over background am i correct in thinking i would only need to change line 20 in the css file? i have tried to put, background-attachment:fixed; tagged on the the line 20  #bg_clouds { background: url(images/bg_clouds.jpg) top center no-repeat;}background-attachment:fixed;
as will have guessed the pages are all messed up what have i do wrong please?
i did try Arthurs method but failed.
Title: Re: graphics
Post by: Mr.Meteo on July 28, 2012, 04:47:16 PM
Hi Peter,

What's wrong with that part is only because line is wrapped in one line,
instead of being open (spread on many lines). Line is like that:

#bg_clouds { background: url(images/bg_clouds.jpg) top center no-repeat;}

Them, to help you, spread the braces { ... }, like this:
#bg_clouds {
 background: url(images/bg_clouds.jpg) top center no-repeat;
}

Then it's easier to see where to put things:

#bg_clouds {
background: url(images/bg_clouds.jpg) top center no-repeat;
background-attachment:fixed;
}

That's it! When line have only one item, sometime I keep it short (To save some
"bytes", many programmer fill all in one line, but I find it difficult for beginers)!

Hope this help,

Jacques
Title: Re: graphics
Post by: peter wood on July 29, 2012, 02:46:43 PM
Hi Jacques
                          worked no problems thank you
                                      peter