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 3 of 3
  1. #1
    Senior Member Bazrazmataz's Avatar
    Join Date
    Jan 2004
    Location
    Newcastle England
    Posts
    341
    Member #
    4454
    Hi

    Is it possible to set the alignment of a table vertically so it not only appears centralised horizontally but vertically as well ?
    Whats the matter the CIA got u pushing too many pencils ???

  2.  

  3. #2
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    The way to do it IIRC is to place it in a nested table which has these properties in it's only TD:
    HTML Code:
    <td valign="middle" align="centre">
    Also you will need to change these properties to CSS as well as the height if you want to be XHTML compliant.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  4. #3
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Location
    USA
    Posts
    1,263
    Member #
    3828
    Liked
    6 times
    You can also use css to center your table without having to nest it in another table. Check out this thread. I used a div in that example but it will work with tables or any element for that matter. But why not forgo tables all together?



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