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 5 of 5
  1. #1
    Member DiZASTiX's Avatar
    Join Date
    Jun 2003
    Posts
    40
    Member #
    1840
    How would I stretch a background to fit a table, like it is a background of a gradient and I want it to stretch to the size of the table it is in. I googled but found nothing, any help?

  2.  

  3. #2
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    Not possible. You would have to use layered DIVs I think.
    JR

  4. #3
    Member DiZASTiX's Avatar
    Join Date
    Jun 2003
    Posts
    40
    Member #
    1840
    What are layered DIVs? And is it worth me using it?

  5. #4
    Senior Member
    Join Date
    Apr 2003
    Location
    Las Vegas
    Posts
    231
    Member #
    1169
    If its a gradient it will automaticly tile and there is no need to stretch anything...

  6. #5
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    There is though, because it might need to be stretched vertically.

    You can do gradients using CSS (IE Only), like so...
    Code:
    <style type="text/css">
    
    .gradient {
    filter=progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#000000', EndColorStr='#ffffff')
    }
    </style>
    There is also a post here on the same subject
    http://www.webdesignforums.net/showt...light=gradient

    They really should implement this into the background-image attribute, it would be useful.
    JR


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 05:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com