gpt4 book ai didi

html - 表格格式

转载 作者:太空宇宙 更新时间:2023-11-04 14:37:03 24 4
gpt4 key购买 nike

我有以下表格结构。我尝试添加空的 tds div,以在图像中获得以下格式,但无法正确设置。任何想法将不胜感激。

<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tR>
<td align="center"> <strong>ONE</strong></td>

<td align="center"><strong> TWO</strong></td>

<td align="center"><strong>THREE</strong></td>
</tR>

<tr>
<td align="left">Quiz NAME</td>
<td align="right">FINAL</td>
<td align="right">USS </td>
<td align="right">PA </td>
<td align="right">INTL </td>
<td align="right"> FINAL</td>
<td align="right"> USS</td>
<td align="right"> PA </td>
<td align="right"> INTL </td>
<td align="right"> FINAL</td>
<td align="right"> USS</td>
<td align="right"> PA</td>
<td align="right">INTL</td>
</tr>
<TR>DATA HERE</TR>

</table>

enter image description here

最佳答案

这是工作代码:

<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tR>
<td colspan="4" align="center"> <strong>ONE</strong></td>

<td colspan="4" align="center"><strong> TWO</strong></td>

<td colspan="4" align="center"><strong>THREE</strong></td>
</tR>

<tr>

<td align="center"align="center">FINAL</td>
<td align="center" >USS </td>
<td align="center"align="center">PA </td>
<td align="center">INTL </td>

<td align="center"> FINAL</td>
<td align="center"> USS</td>
<td align="center"align="center"> PA </td>
<td align="center"> INTL </td>

<td align="center"> FINAL</td>
<td align="center"> USS</td>
<td align="center"> PA</td>
<td align="center">INTL</td>
</tr>
<TR>DATA HERE</TR>

关于html - 表格格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23982306/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com