2016-02-26 48 views
1

我有一个没有设置为我想要的html表。以下是html表格的代码。html表未设置。对齐问题

表td中的文本“Venue”和“Timing”与他们的下一个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> 

回答

1

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

+0

谢谢..它工作 –