Html表格,如何在一行中显示两个tr?
我有表格,为行添加了数据href,但我有为每行添加的下拉列表,对于这个fro-down不需要链接,怎么做 在此变体中,我的下拉列表不起作用,因为单击他时调用数据hrefHtml表格,如何在一行中显示两个tr?,html,html-table,Html,Html Table,我有表格,为行添加了数据href,但我有为每行添加的下拉列表,对于这个fro-down不需要链接,怎么做 在此变体中,我的下拉列表不起作用,因为单击他时调用数据href <tr class="clickable" data-href="{{ path('outbound_invoices_show', {'id': outboundInvoice.id}) }}"> <td> {{ outboundI
<tr class="clickable" data-href="{{ path('outbound_invoices_show', {'id': outboundInvoice.id}) }}">
<td>
{{ outboundInvoice.invoiceNumber }}
</td>
<td>
my drop down with link
</td>
</tr>
{{outboundInvoice.invoiceNumber}
我的链接下拉列表
在这个变体中,可以工作,但有两行
<tr class="clickable" data-href="{{ path('outbound_invoices_show', {'id': outboundInvoice.id}) }}">
<td>
{{ outboundInvoice.invoiceNumber }}
</td>
</tr>
<tr>
<td>
my drop down with link
</td>
</tr>
{{outboundInvoice.invoiceNumber}
我的链接下拉列表
应该有用。否则,请展示你所拥有的。您也可以使用ul作为内联列表,因为我认为默认情况下,行不应该是内联的 如何在一行中创建第一个tr动态和第二个动态?您希望您的
在一行中吗?
table{width: 100%} tr{display: inline}