行间距 [英] Row spacing

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

问题描述

在IE中查看下面的代码会显示行之间的间距。我是

指定没有边框或间距,并且

Mozilla没有脱节。那里还有什么?我想加入行。

< table border =" 0" cellspacing ='''0''cellpadding =''0''width =" 720" cols =" 2">


< tr>

< td colspan =" 2">

< a href =" index.html">

< img src =" images / banner.gif" border =" 0">

< / a>

< / td>

< / tr>


< tr valign =" top">

< td width =" 130">

< img命名= QUOT;导航" SRC ="图像/ navbar.jpg" border =" 0">

< / td>

.....

Jon

Viewing the code below in IE displays spacing between the rows. I''m
specifying no borders or spacing, and there''s no disjointing in
Mozilla. What else is there? I want to join the rows.
<table border="0" cellspacing=''0'' cellpadding=''0'' width="720" cols="2">

<tr>
<td colspan="2">
<a href="index.html">
<img src="images/banner.gif" border="0">
</a>
</td>
</tr>

<tr valign="top">
<td width="130">
<img name="navigate" src="images/navbar.jpg" border="0">
</td>
.....
Jon

推荐答案

在文章< 11 ********************** @ z14g2000cwz.googlegroups中。 com>,
no****@jcosby.com 启发我们...
In article <11**********************@z14g2000cwz.googlegroups .com>,
no****@jcosby.com enlightened us with...
在IE中查看下面的代码显示行之间的间距。我是
指定没有边框或间距,
Viewing the code below in IE displays spacing between the rows. I''m
specifying no borders or spacing,




如果你没有sepcify,浏览器会应用默认值。

默认值因浏览器而异。


如果您不想要任何保证金和填充(CSS),请指定0。


-

-

~kaeli~

时间过得像箭一样。果蝇像香蕉一样苍蝇。
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace



If you don''t sepcify, the browser gets to apply defaults.
And defaults vary by browser.

Specify 0 for margin and padding (CSS) if you don''t want any.

--
--
~kaeli~
Time flies like an arrow. Fruit flies like a banana.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace


Jon写道:
Jon wrote:
在IE中查看下面的代码会显示行之间的间距。
Viewing the code below in IE displays spacing between the rows.




您还没有提供URL,所以很难说。我的猜测是

行之间没有空格,但是在

图像的底部和图像所在的单元格底部之间。


无论如何这看起来都不像表格数据所以
http://www.allmyfaqs.com/faq.pl?Tableless_layouts


-

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

Home是〜/ .bashrc的地方



You haven''t provided a URL, so its very hard to say. My guess would be that
there is no space between the rows, but there is between the bottom of the
images and the bottom of the cell that the image is in.

That doesn''t look like tabular data anyway, so
http://www.allmyfaqs.com/faq.pl?Tableless_layouts

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


>>在IE中查看下面的代码会显示行之间的间距。我是
>> Viewing the code below in IE displays spacing between the rows. I''m
指定没有边框或间距,


如果你没有sepcify,浏览器会应用默认值。
默认值因浏览器而异。

如果你不想要,则为margin和padding(CSS)指定0。

If you don''t sepcify, the browser gets to apply defaults.
And defaults vary by browser.

Specify 0 for margin and padding (CSS) if you don''t want any.




表格属性中的Cellpadding设置为0。在

样式表中尝试并且在IE中仍然获得相同的间距。没有它在

Mozilla。


Jon



Cellpadding is set to 0 in the table attributes. Tried both in the
stylesheet and still get the same spacing in IE. Don''t have it in
Mozilla.

Jon


这篇关于行间距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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