Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    26
    Member #
    6978
    Hi,
    I have this in the head:

    Code:
    <style type="text/css">
    <!--
    .tdback { background-image: url(css_bg.gif);}
    -->
    </style>
    what do I need to add to that to make the image not scroll with the rest of the page?

    Thanks!

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Code:
    .tdback { background-image: url(css_bg.gif); background-repeat: no-repeat; background-attachment: fixed; }

  4. #3
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    (A shorter method)
    Code:
    .tdback { background: url(css_bg.gif) no-repeat fixed; }

  5. #4
    Member Victor's Avatar
    Join Date
    Jul 2004
    Posts
    54
    Member #
    6614
    Maybe i didnt understand something. You are talking about the table background or about the page background? How can you scroll the text inside of the table? Bacground for the cell will be fixed for that cell allways.

  6. #5
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    maybe they made it scrolling with a div.
    choosy developers choose gif!
    website | paintings | blog

  7. #6
    Member Victor's Avatar
    Join Date
    Jul 2004
    Posts
    54
    Member #
    6614
    I don't see the difference rasperberryh.

    Cell background will be fixed any way.

  8. #7
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    well have never been in the situation where i would need a fixed background in a table cell, so i couldn't really tell ya. maybe you should private message the person who started this post and ask them.
    choosy developers choose gif!
    website | paintings | blog


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:39 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com