Казвам, че имам списък
e.g.
apple
car
bin
Как да го направя, за да запълни horizonatlly в таблица, а не вертикално т.е. така изглежда така в таблица:
apple car bin
Използваният код само повтаря всяко вписване в списъка за целия ред, по-долу:
<body>
<div metal:fill-slot="main">
<h1>List of Species in the Database</h1>
<table border="0" width="100%">
<tr tal:repeat="records container/Query_Species">
<td tal:content="records/gene_bank_species">Species</td>
<td tal:content="records/gene_bank_species">Species</td>
</tr>
</div>
</body>
Отговори:
0 за отговор № 1<table border="0" width="100%">
<tr tal:repeat="records container/Query_Species">
<td tal:content="records/gene_bank_species">Species</td>
</tr>
<tr tal:repeat="records container/Query_Species">
<td tal:content="records/gene_bank_species">Species</td>
</tr>
</table>