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.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member gabe89's Avatar
    Join Date
    Oct 2003
    Posts
    137
    Member #
    3412
    Hello all,

    I have a site and all the content is in a table that is height="100%" .

    Usually when I first open the site, there is a small gap at the bottom where it should just join the bottom of the browser.

    Upon hitting 'refresh' on my browser, the problematic gap disappears.

    Anyone know how to fix this?

    Here's what I have so far :::: http://www.zfxdesign.com/Upload/gFullFlashSite

    If you don't see the problem, let me know that too.

    Thanks

  2.  

  3. #2
    Senior Member gabe89's Avatar
    Join Date
    Oct 2003
    Posts
    137
    Member #
    3412
    hmmmm...

    now when i click the url i just posted, everything is fine, but when i type url in manually problem is there..

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    The table height property doesn't work in most browsers and is problematic in IE. Your best bet is to avoid using it if at all possible. But since you can't, what you may wish to consider is making your Flash and exporting it using the Full Screen properties (I forget how to do this exactly, since I don't often use Flash.)
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    Yeah... you really can't do height="100%", try using CSS... even then that's iffy. height property is completely unsupported, however, so stay away from that.

    And if I might say so myself... looks like a f-ing awsome page in process.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  6. #5
    Senior Member gabe89's Avatar
    Join Date
    Oct 2003
    Posts
    137
    Member #
    3412
    hey thanks guys,

    yeah i've been using height=100% for some other projects and it does just appear to be buggy.

  7. #6
    Junior Member romenov's Avatar
    Join Date
    Oct 2003
    Location
    Belgium
    Posts
    29
    Member #
    3470
    Try placing your height in your td code instead of your table code.

  8. #7
    Senior Member ericbusch's Avatar
    Join Date
    Aug 2003
    Location
    Daejeon, South Korea
    Posts
    241
    Member #
    2779
    I was having the same problems until i removed this:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

    That declaration was causing me problems.

    Here is AN EXAMPLE of a vertically centered page.

    please let me know if this doesnt work on a browser

    Eric
    Blogs For Sale - Each blog is packed with 1000s of signatures and ads are highly integrated into the site. Great CTR! Completely customizable from Admin CP. On Sale!
    Complete Websites For Sale - Fantastic looking sites rich with content. Come complete with domain names. I only have a couple of these.

  9. #8
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    The reason that was causing you problems is that the table height attribute doesn't exist in the W3C HTML DTD (spec).

    It has only been supported since IE 5.0 or so and isn't supported by some browsers.

    Just be careful using anything that doesn't comply with W3C.

  10. #9
    Junior Member
    Join Date
    Dec 2003
    Posts
    1
    Member #
    4343
    Originally posted by ericbusch
    Here is AN EXAMPLE of a vertically centered page.

    please let me know if this doesnt work on a browser

    Eric
    Eric,

    Your example works as expected on both IE6 and mozilla 1.5. However, if you wrap the table in a form element then the table ceases to expand to the full page height in mozilla. Any suggestions?

    merry solstice and all of that jazz,
    - andy

  11. #10
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Code:
    <form style="width: 100%; height: 100%; margin: 0px">
        <table width="100%" height="100%">
        </table>
    </form>


Page 1 of 2 1 2 LastLast

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