Vertical Table Alignment

This is a discussion on "Vertical Table Alignment" within the Web Page Design section. This forum, and the thread "Vertical Table Alignment are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 8th, 2006, 22:57
Junior Member
Join Date: Sep 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Vertical Table Alignment

Is it possible to set a tables vertical alignment to middle, without using css??? I need to centre a table verticaly aswell as horizontaly. Its only for a holding page and didnt want to go through much fuss. Have tried valign="middle" etc.

Cheers
A.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 9th, 2006, 00:29
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Vertical Table Alignment

You need to put a table inside a table to do this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 9th, 2006, 00:32
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Vertical Table Alignment

Code: Select all
<body>

<table>
<tr>
<td valign="middle">

<table>
<tr>
<td>All your content</td>
</tr>
</table

</td>
</tr>
</table

</body>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 9th, 2006, 08:48
Junior Member
Join Date: Sep 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Vertical Table Alignment

Cheers guys - have tried a table in a table. Unfortunatley adding valign to the table data/cell of the outer table doesnt seem to align the table inside. Im aware i cant use the valign attribute with the <table> tag.
Any other suggestions???
Cheers
A.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Mar 9th, 2006, 09:54
Up'n'Coming Member
Join Date: Mar 2006
Location: East Sussex, UK
Age: 20
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Vertical Table Alignment

Well have you tried that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Mar 12th, 2006, 18:35
Junior Member
Join Date: Sep 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Vertical Table Alignment

Sorted this out with a div tag and a wrapper - i confess to not having a clue how it works, a friend sent me the code and told me what to do!


Thanks all anyway.

Cheers
Ax
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Mar 13th, 2006, 01:34
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,189
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Re: Vertical Table Alignment

if you had set a height of 100% to your outer table, the original suggestion would have worked, but you've sorted it anyway, so it's ok.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
vertical, table, alignment

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical alignment issues in IE6. IE7 Won't center my page! Itsumishi Web Page Design 5 Mar 24th, 2008 20:28
vertical scroll bar to a table encompass Web Page Design 2 Jun 12th, 2007 12:10
Change table vertical to horizontal basketmen Web Page Design 0 Apr 13th, 2007 20:17
Table Content Alignment... Wheelz Web Page Design 4 Jul 3rd, 2006 09:54
:: Dreamweaver :: Vertical Alignment LittleDoug Web Page Design 4 May 22nd, 2006 16:40


All times are GMT. The time now is 20:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42