File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Vertical alignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Vertical alignment" Watch "Vertical alignment" New topic

Vertical alignment

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 832
Hi All,
Here's what I'm trying to do (without success). I have the following table structure :

I have content here (images, text, etc..,) that I want to split up. The contents here are also in table format to organize everything. One section needs to go to the top of the cell and the second section needs to go to the bottom. I've tried a couple of things but can't get the end results I need. Since the second and third td tags marked with widths of 25% and 50% have more content and stretch the overall table down I need the content in the first td tag to be split (as mentioned 1/2 content floats to top and second 1/2 goes to bottom of cell). Any help would be appreciated. Thanks in advance.

Dave Bilson

Joined: Oct 19, 2009
Posts: 7
Why are you using tables for layout? Wouldn't CSS be better?
I agree. Here's the link:
subject: Vertical alignment
It's not a secret anymore!