如何摆脱表之间的无用空间? [英] How to get rid of unwanted space between tables?

查看:144
本文介绍了如何摆脱表之间的无用空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含两个大表的页面,一个位于另一个之上:

p>

I have a page with two large tables, one positioned above the other:

http://www.sportsmogul.com/Encyclopedia/2007/BOS/index.html

In my editor (Dreamweaver), there is no space between the tables.

But in Chrome, there is a gap of about 10 pixels (the blue space where the background shows through, between the top "navbar" and the rest of the page).

Would like to get rid of this gap.

解决方案

It appears that there is a <br> tag right inbetween the tables, I must say that while there is a tiny bit of doubt, I do believe that this is the culprit.

Please see Exhibit A:

Highlighted in blue, the <br> resides right inbetween the tables.

For more information about the <br> tag please see this link: http://en.wikipedia.org/wiki/HTML#Elements

这篇关于如何摆脱表之间的无用空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆