在表格行之间插入边距
我想在 中的两个
之间插入一个表格。我尝试在行之间粘贴带有边距的
,我尝试使用类来设计
的样式,然后添加边距,什么也没有。
<tr>
<td class="near">
<a href="../index.html" class="near_place">
<img src="../images.jpeg" width="80" height="60" class="related_photo" />
<span class="related_info">asdfadfadfaf</span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
</tr>
<tr>
<td class="near">
<a href="../index.html"class="near_place">
<img class="related_photo" />
<h4 class="nearby"> adfadfad </h4>
<span class="related_info">asdfadfadfaf</span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
</tr>
我想要第一个 和第二个之间有 20px 的空间。
I want to insert a table between two <tr>
in a <table>
. I've tried sticking a <span>
with margin between the rows, I've tried styling the <tr>
with a class and then adding a margin, nothing.
<tr>
<td class="near">
<a href="../index.html" class="near_place">
<img src="../images.jpeg" width="80" height="60" class="related_photo" />
<span class="related_info">asdfadfadfaf</span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
</tr>
<tr>
<td class="near">
<a href="../index.html"class="near_place">
<img class="related_photo" />
<h4 class="nearby"> adfadfad </h4>
<span class="related_info">asdfadfadfaf</span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
<td class="near">
<a class="near_place">
<img class="related_photo" />
<h4 class="nearby"></h4>
<span class="related_info"></span>
</a>
</td>
</tr>
I want like a 20px space between the first <tr>
and the second.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那是你需要的吗?
that is you need ?