aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Vertical alignment" Watch "Vertical alignment" New topic
Author

Vertical alignment

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 805
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.

AF
Dave Bilson
Greenhorn

Joined: Oct 19, 2009
Posts: 7
Why are you using tables for layout? Wouldn't CSS be better?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Vertical alignment
 
Similar Threads
Problem Adding a Link to cell via a JScript DOM...
table code - td inside td how ?
2 columns both having unspecified widths
table cells not aligning
Scroll of div fail to work when table row inside it is higlighted