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 9 of 9
  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    20
    Member #
    14402
    Well I'm back after finally having a chance to work on my site, but I'm having some problems... I can't quite get the site stretched 100% height, and have it do it correctly (As in, stretching 100% height, but not going on past the bottom of the screen unless theres content)
    Heres a link: http://www.tatsumaki-online.com/new/
    Heres what I used for the stretching:
    Code:
    
    body {
    background: url("images/index_grad.jpg");
    background-repeat:repeat-x;
    background-position:top;
    color: #333333;
    height: 100%;
    }
    
    (While the code is neat and tidy, I realize its not W3C... Yet. I'm normally a PHP guy, so I'm not fully familiar with the W3C)

  2.  

  3. #2
    Senior Member simpleurl's Avatar
    Join Date
    Jul 2006
    Location
    Leicester, UK.
    Posts
    150
    Member #
    13598
    I found a tutorial here but I haven't tested it...
    http://www.webmasterworld.com/forum83/200.htm

  4. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    20
    Member #
    14402
    Thanks but uh... I'm using tables not divs

  5. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    Hatfield, England
    Posts
    855
    Member #
    9790
    Your current design is very easy to change to CSS... you might as well take the time now while your site is in development to make your site 100% CSS.

    Tables are pretty much obsolete now.

  6. #5

  7. #6
    Junior Member
    Join Date
    Nov 2006
    Posts
    20
    Member #
    14402
    I used tables for a reason, I'm well aware of the negative aspects of them...

  8. #7
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Insofar as I've been able to gather, getting such a stretch to happen is nearly impossible, CSS or no CSS, unless you target a specific height.

  9. #8
    Junior Member kirby145's Avatar
    Join Date
    Dec 2006
    Posts
    22
    Member #
    14468
    i would suggest making it a specific height in pixels, or to fit amount of content use auto.

    Besides body refers to the entire screen, if you specify a background it goes the entire screen. Use a container
    :laugh:

  10. #9
    Senior Member Shani's Avatar
    Join Date
    Nov 2004
    Posts
    1,140
    Member #
    8171
    Set the dimensions on the <table>, not on the <body>.
    Shani

    I have an eye for detail like you'd never believe.


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