Author Topic: graphics  (Read 2362 times)

Offline peter wood

  • Jr. Member
  • **
  • Posts: 18
graphics
« 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.
« Last Edit: December 31, 1969, 06:00:00 PM by Guest »

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: graphics
« Reply #1 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
« Last Edit: December 31, 1969, 06:00:00 PM by Guest »
Please, consider supporting this site 

Offline peter wood

  • Jr. Member
  • **
  • Posts: 18
Re: graphics
« Reply #2 on: July 29, 2012, 02:46:43 PM »
Hi Jacques
                          worked no problems thank you
                                      peter
« Last Edit: December 31, 1969, 06:00:00 PM by Guest »