View Full Version : Simple Layout problem
I want to make a html table with single row, 2 columns.
The columns should fill the page with width in the ratio. 80% : 20%.
In the first column I want to have 3 rows to completely fill the first column.
Can anyone suggest something that works?
06-04-2010, 12:02 AM
Something like this?
<td style="width:20%;">Column 2
Thanks very much.
This works. The problem is that the first three rows from the first column dont fill the width of the column.
My tag had a small error with a semicolon at the wrong place. It works now! thanks heaps.
06-04-2010, 12:58 AM
Tables aren't meant for page layout. If you are displaying data, then fine but otherwise you shouldn't use a table.
06-04-2010, 01:03 AM
Aerospace is absolutely right. If your using this table for layout purposes, you should go strictly Div based.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.