Cronos
04-07-2008, 12:39 PM
Sirs,
I want to make a 2 column "table" with CSS.
The idea is that the left cell is an input box (text), and the right cell is the target area which will be populated by entered text (and dynamically expanding vertically). These two must be top-aligned.
Now, the problem comes when I want to have another duple below. If the left cell above expands dynamically, how can I know where to place the next duple?
http://img149.imageshack.us/img149/5757/cssta1oo8.th.png (http://img149.imageshack.us/my.php?image=cssta1oo8.png)
The left cells are input areas and the right cells are target areas. Left1 belongs to right1 etc... And these must be top-aligned. AND the Right-cells expand vertically as they are populated.
I've tried with DIV, but the left cell pushes down the right cell (as I understand DIV takes up one line of the page).
Do I have to change to SPAN or what?
Thanks.
I will try and upload an image when I get back home.
I want to make a 2 column "table" with CSS.
The idea is that the left cell is an input box (text), and the right cell is the target area which will be populated by entered text (and dynamically expanding vertically). These two must be top-aligned.
Now, the problem comes when I want to have another duple below. If the left cell above expands dynamically, how can I know where to place the next duple?
http://img149.imageshack.us/img149/5757/cssta1oo8.th.png (http://img149.imageshack.us/my.php?image=cssta1oo8.png)
The left cells are input areas and the right cells are target areas. Left1 belongs to right1 etc... And these must be top-aligned. AND the Right-cells expand vertically as they are populated.
I've tried with DIV, but the left cell pushes down the right cell (as I understand DIV takes up one line of the page).
Do I have to change to SPAN or what?
Thanks.
I will try and upload an image when I get back home.