This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 815
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?
 
 
subject: Vertical alignment
 
Similar Threads
table cells not aligning
Scroll of div fail to work when table row inside it is higlighted
table code - td inside td how ?
Problem Adding a Link to cell via a JScript DOM...
2 columns both having unspecified widths