我有这段代码,当它显示时,右侧有一条奇怪的垂直线。我不知道是什么原因造成的。任何帮助将不胜感激。
这是我正在使用的完整代码。
<html>
<head></head>
<body>
<table border="0" width="600" align="center" cellpadding="0" cellspacing="0" title="Join us!">
<tr bgcolor="#8cc63f" style="line-height: 0px">
<td width="15"><img src="topleft.jpg" width="15" height="15" alt=""></td>
<td width="410" style="font-size: .2em"> </td>
<td width="15"><img src="righttop.jpg" width="15" height="15" alt=""></td>
</tr>
<tr bgcolor="#8cc63f">
<td width="15" style="font-size: 1px"> </td>
<td width="410" bgcolor="#8cc63f" align="center" style="color: white; font-size: 16px">
<span style="font-family: Verdana,Geneva,sans-serif; color:#FFFFFF;">
<a href="http://www.google.com"><br> We have spacious and modern training rooms. <br><br></span></td>
<td width="15" style="font-size: 1px;"> </td>
</tr>
<tr bgcolor="#8cc63f" style="line-height: 0px">
<td width="15" height="15"><img src="buttomleft.jpg" width="15" height="15" alt=""></td>
<td width="410" style="font-size: 0px;" height="15"></td>
<td width="15" height="15"><img src="buttomright.jpg" width="15" height="15" alt=""></td></tr>
</table>
</body>
</html>
最佳答案
您可能想考虑合并 CSS3 圆角,而不必输入一堆代码。只需尝试使用谷歌搜索即可!
关于html - HTML 中的圆角,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7003388/