Dynadot โ€” .com Transfer

Table Vertical Alignment

SpaceshipSpaceship
Watch
Impact
0
Hello --

I am having some issues using tables to do vertical alignment.

What I am trying to do is set one table as 100% width and 100% height of a window, then have the smaller content window be valigned to the middle of the 100%/100% parent table. However it seems that the height of the parent table is only as large as the content inside of it.. meaning it won't take up 100% of the window.

Is there a way to make that table take up a true 100% of the height of the window.. or is there a much better way to go about doing this task altogether? :)

Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
What kind of content are you using! Pic? Text? Flash?
 
0
•••
OulZac said:
What kind of content are you using! Pic? Text? Flash?

Basically it is just one table inside of another.. the inner table will contain text and is appx. 400x400 in size. The outer table is intended just to be a blank placeholder table so that I can align the inner table center and valign middle in an attempt to get it to center on the page.
 
0
•••
Get rid of the outer table and use CSS to align your content. Better still get rid of both tables and Use CSS througout.

'valign' is not well supported in all browsers and tables will fight back at any attempt to force then to adopt a paticular size, they will always try to hug the cell content.

Can you post the URL of the page so we can see the problem, easier to help if you can look at something. If you want the CSS code for aligning things try this test page
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back