Results 1 to 4 of 4

Thread: What's the code for this?

  1. #1
    The Beave Doug's Avatar
    Join Date
    Jun 2004
    Location
    Michigan
    Posts
    306

    What's the code for this?

    I want to set it so the image I use for my background on my site stays put when the user scrolls the page up and down. I was wondering what the code was for this? If I wasn't quite clear, I want the text to scroll while the background doesn't move at all.
    Strangest-Facts
    Domains for Sale (PM me with offers)
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

  2. #2
    Website Developer
    Join Date
    Oct 2004
    Posts
    1,607
    Try this:

    <body background ="bg.gif" bgproperties="fixed">
    Make more money - Read my Web Publishing Blog

  3. #3
    Website Developer
    Join Date
    Oct 2004
    Posts
    1,607
    If you want to do it with CSS try this:

    background-attachment: fixed;
    Make more money - Read my Web Publishing Blog

  4. #4
    The Beave Doug's Avatar
    Join Date
    Jun 2004
    Location
    Michigan
    Posts
    306
    Thanks it worked, I appreciate the help.
    Strangest-Facts
    Domains for Sale (PM me with offers)
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

Similar Threads

  1. Code Snippets
    By Emancipator in forum Website Programming & Databases
    Replies: 17
    Last Post: 08-19-2005, 07:03 AM
  2. Html code help needed
    By loveinstar in forum HTML, CSS, Layout, and Design
    Replies: 2
    Last Post: 04-12-2005, 08:00 PM
  3. UK - SIC Code
    By Generalissimo in forum Business and Legal Issues
    Replies: 4
    Last Post: 03-30-2005, 01:11 PM
  4. Is there something wrong with my google code?
    By Sootah in forum Advertising & Affiliate Programs
    Replies: 6
    Last Post: 11-05-2004, 10:27 AM
  5. Interesting Website Code I Found
    By grichards in forum Search Engine Optimization
    Replies: 2
    Last Post: 12-10-2003, 09:02 AM

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
  •