Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Aligning a table

    Hi all,

    I am wondering how I should go about aligning a table at the very top of the page, so there is no gap between the highest scrollable region, and the lowest scrollable region.

    I am not using frames, and do not wish to use frames.

    I have tried the code valign=top, or something like that, I do not remember it off my head.

    I have attached the .html file, but due to the restrictions, I have changed the extension to a .txt, alter it to .html, and you will see what I mean.

    Thank you in advance.


    Ionsurge.

    (it may want a picture, if it does just ignore it)
    Attached Files Attached Files
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try putting topmargin="0" into the missing <body> tag or (preferably) use a style sheet to define the same:

    <style type="text/css">
    body { top-margin: 0px; }
    </style>

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanx for your help!

    I appreciate it very much!
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by adios
    body { margin-top: 0px; }

    http://www.w3schools.com/css/pr_margin-top.asp
    Ooops


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •