h1标签问题?为什么? [英] h1 tag problem? why?
问题描述
任何人都可以告诉我如何停止我的标题标签产生的额外空间
文本。
标签产生的空间正在抛出我的布局很多,我不能用b $ b来计算如何删除它。如果我更改了行高......文本顶部
被切断了...我该怎么做?
任何建议都非常感谢
Sy
Hi,
Can anybody tell me how I stop the extra space my heading tags produce under
the text.
The space the tag is producing is throwing my layout out alot and I cant
figure how to remove it. If I change the line height ..the top of the text
is cut off...how do I do this?
Any advice is much appreciated
Sy
推荐答案
Am 16.12.2003 23:28 schrieb Simon:
Am 16.12.2003 23:28 schrieb Simon:
任何人都可以告诉我如何停止我的标题标签在文本下产生的额外空间。
Hi,
Can anybody tell me how I stop the extra space my heading tags produce under
the text.
这应该可以解决你的问题:
h1 {
margin-bottom:0;
}
>
要删除任何默认空格,请使用:
h1 {
填充:0;
保证金:0;
}
Fabian
This should solve your problem:
h1 {
margin-bottom:0;
}
To remove any default whitespace use:
h1 {
padding:0;
margin:0;
}
Fabian
" Simon" < SI *** @ digink.co.uk> skrev i meddelandet
新闻:2G ***************** @ newsfep3-gui.server.ntli.net ...
"Simon" <si***@digink.co.uk> skrev i meddelandet
news:2G*****************@newsfep3-gui.server.ntli.net...
任何人都可以告诉我如何停止我的标题标签在文本下产生
的额外空间。
标签产生的空间是我的布局很多而我
无法计算如何删除它。如果我更改行高...
文本的顶部被切断了...我该怎么做?
任何建议都非常感谢
Hi,
Can anybody tell me how I stop the extra space my heading tags produce under the text.
The space the tag is producing is throwing my layout out alot and I cant figure how to remove it. If I change the line height ..the top of the text is cut off...how do I do this?
Any advice is much appreciated
尝试< H1 style =" -5px;"> (否定价值)
但我不确定它是如何在所有浏览器中验证或工作的。
-
/ Arne
Try <H1 style="-5px;"> (negativ value)
But I don''t know for sure how it validates or works in all browsers.
--
/Arne
在帖子< news:2G ***************** @ newsfep3- gui.server.ntli.net>
Simon说:
in post <news:2G*****************@newsfep3-gui.server.ntli.net>
Simon said:
任何人都可以告诉我如何停止我的标题标签产生的额外空间
文本。
Can anybody tell me how I stop the extra space my heading tags produce under
the text.
margin-bottom:0;
-
brucie
17 / December / 2003 08:46:05 am kilo
margin-bottom:0;
--
brucie
17/December/2003 08:46:05 am kilo
这篇关于h1标签问题?为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!