0

I have to create table which can have in one row one or two elements e.g. in one row can be placed label and field (e.g.textField) or only field. it doesn't have to be a dataTable element, it can be anything which looks like a table. It should looks like this: `

_______________________________
|____label____taxtField_______|
|textFieldWhichTakesWholeSpace|
|____label____taxtField_______|
|____label____taxtField_______|`   

Do you have any ideas how to do it?

4

1 回答 1

0

不确定我是否遗漏了任何东西,但这听起来像是基本的 HTML:

<table>
   <tr><td>label</td><td>textField</td></tr>
   <tr><td colspan="2">textFieldWhichTakesWholeSpace</td></tr>
   <tr><td>label</td><td>textField</td></tr>
   <tr><td>label</td><td>textField</td></tr>
</table>
于 2011-08-18T18:46:40.173 回答