Results 1 to 4 of 4

Thread: page over page effect

  1. #1
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default page over page effect

    I am trying to make a web page that has a stationary background while the text and pictures are scrolled. I am not good at coding as I mostly use yahoo site builder so please talk to me as a noob.

    Thank You,

    Peorge

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I don't know the specifics of how this would be done in Yahoo Site Builder. But, the technique to do it via CSS is outline on the following pages:

    http://www.w3schools.com/css/tryit.a...und-attachment
    http://htmldog.com/reference/cssprop...nd-attachment/

  3. #3
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    557
    Thanks
    8
    Thanked 66 Times in 66 Posts

    Default

    yes, replace your <body> tag with this:

    <body background="URL_TO_YOUR_IMAGE_HERE">

    in css, the background scrolls as well, -- this way it;s stationary
    - Josh

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    No, just used the position: fixed css attribute.
    Code:
    body {
    background: url("image-url.jpg") fixed;
    }
    - Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •