另一个简单问题.. [英] Another simple question..

查看:88
本文介绍了另一个简单问题..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




你为我帮助获得了td单元格的底部边框,但现在有了

是每个单元格之间的微小差距这个边界。


如何摆脱它?

http://marketingpwt.aem.cornell.edu/members.htm


再次感谢。此页面仍处于设计阶段。

Steve

Hi,

You helped get the bottom border on the td cells for me, but now there
is a tiny gap in between each cell on this border.

How do I get rid of that?

http://marketingpwt.aem.cornell.edu/members.htm

Thanks again. This page is still in the design phase.
Steve

推荐答案



"史蒂夫K" < SM *** @ cornell.edu>在消息中写道

news:sm ************************* @ newsstand.cit.cor nell.edu .. 。

"Steve K" <sm***@cornell.edu> wrote in message
news:sm*************************@newsstand.cit.cor nell.edu...


你为我帮助获得了td单元格的底部边框,但是现在这边界上每个单元格之间的间隙很小。

如何摆脱它?

http://marketingpwt.aem.cornell.edu/members.htm




我发现如果我把它丢掉CELLSPACING = QUOT; 0"在< table>中标签,虽然你

不应该这样做。但是,在

样式中将填充和边距设置为0无效,也没有明确设置

上的左右边框将单元格设置为无。所以我也很困惑。



I find it goes away if I put cellspacing="0" in the <table> tag, though you
shouldn''t have to do that. However, setting padding and margins to 0 in the
style has no effect, nor does explicitly setting left and right borders on
the cells to "none". So I''m puzzled too.


Steve K写道:
Steve K wrote:
你帮助获得了td单元格的底部边框我,但现在这个边界上每个细胞之间的间隙很小。
如何摆脱它?
You helped get the bottom border on the td cells for me, but now there
is a tiny gap in between each cell on this border. How do I get rid of that?




table {border-collapse:collapse; }


-

David Dorward< http://dorward.me.uk/>



table { border-collapse: collapse; }

--
David Dorward <http://dorward.me.uk/>

Harlan Messinger写道:
Harlan Messinger wrote:
但是,在样式中将填充和边距设置为0无效,


因为填充是在边框和表格单元格中没有边距。

也没有
明确地将单元格上的左右边框设置为无。
However, setting padding and margins to 0 in the style has no effect,
Becuase padding is INSIDE the borders and table cells don''t have margins.
nor
does explicitly setting left and right borders on the cells to "none".




因为边界之间的空间不是边界。


-

David Dorward< http:// dorward。 me.uk/>



Becuase space between borders isn''t a border.

--
David Dorward <http://dorward.me.uk/>


这篇关于另一个简单问题..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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