Jump to content


Another background question


4 replies to this topic

#1 Iysha

    Young Padawan

  • Members
  • Pip
  • 291 posts
  • Gender:Male
  • Location:london

Posted 15 August 2005 - 09:15 AM

im quite interested in backgrounds at the moment and i was wondering.
How can i change my background so it becomes a floting background?

Cheers :P

#2 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 15 August 2005 - 05:11 PM

would you happen to have an example. and from what im guessing, you would need javascript or dhtml

#3 Iysha

    Young Padawan

  • Members
  • Pip
  • 291 posts
  • Gender:Male
  • Location:london

Posted 15 August 2005 - 05:43 PM

yer um here is an example


EXAMPLE


hope you can be of help:)

Edited by Iysha, 15 August 2005 - 05:46 PM.


#4 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 15 August 2005 - 07:33 PM

using css, add this css code in the header

body{
    background-image:url("url/to/bg.gif");
    background-attachment: fixed;
    background-color:#fff
    background-repeat: no-repeat;
}

or of couse, all in one declaration

body{
background: #fff url("url/to/bg.gif") no-repeat fixed;
}

Edited by coolaid, 15 August 2005 - 07:34 PM.


#5 Iysha

    Young Padawan

  • Members
  • Pip
  • 291 posts
  • Gender:Male
  • Location:london

Posted 16 August 2005 - 05:28 AM

cheers coolaid. thank you for the help :P





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users