gpt4 book ai didi

javascript - html 表未设置。对齐问题

转载 作者:行者123 更新时间:2023-11-27 23:18:04 24 4
gpt4 key购买 nike

我有一个 html 表,但没有按照我想要的方式设置。以下是html表格的代码。

表 td 中的文本“地点”和“时间”与下一个 td 相去甚远。我希望它们关闭并居中。

<table  style="
border: 22px;
background-color: darkcyan;
margin: 22px;
padding: 12px;"
><tr><td>
<h1>Welcome</h1><br>
Below is the registration form that is required to be filled out for joining the seminar. We have limited no. of

seats. If you are interested, you may join us by submitting the required details. Please do not provide ambiguous

information in the given form. Here are some information regarding the seminar are mentioned: <br><br>
</td></tr>

<tr><td><b>Starting Time: </b></td> <td>11:00 AM</td></tr>
<tr><td><b>Venue: </b></td> <td>Pir Mehr Ali Shah Auditorium, Street # 1, H-8/1, Islamabad</td></tr>
</table>

最佳答案

使用<td colspan=2>第二个 td。

关于javascript - html 表未设置。对齐问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35646127/

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