ul的底部填充或边距? [英] bottom padding or margin in ul?

查看:73
本文介绍了ul的底部填充或边距?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个无序列表作为菜单,底部需要一些空格,

在最后一个< li>下面。

我试过了:

将底部边距设置为ul

将底部边距设置为包含< div>

将填充设置为ul并且< div>

以及我能想到的上述所有组合。


似乎无效。


有人可以告诉我应该怎么做为了获得理想的效果?


我将非常感激。

-

Groet,Adriana。

[如果你想通过电子邮件联系我,请扔垃圾]

解决方案

2004年1月29日星期四17:26 :36 +0100,A.Translator

< ad ****************** @ yaBISHhoo.com>写道:

我有一个无序的列表作为菜单,并在底部需要一些空间,
在最后一个< li>下面。
我试过:<将底边距设置为ul
将底边距设置为包含< div>
将填充设置为ul和< div>
以及上面的所有组合我可以想到。

似乎没有工作。

有人能告诉我应该做些什么来达到预期的效果吗?

我会非常感激。




发布问题的URL?


2004年1月29日星期四11:31:34 - 0500,Neal写道:

发布问题的URL?



http://www.xs4all.nl/~hogen/TaalVlinder/

左起第二个菜单''vaktaal''说明了问题:我想要底部的白色

空间由于混入了内容文本,菜单文本难以阅读




感谢您及时回复!

-

Groet,Adriana。

[如果你想通过电子邮件联系我,请扔垃圾]


" A.Translator" <广告****************** @ yaBISHhoo.com>写道:

我有一个无序的列表作为菜单,并在底部需要一些空间,
在最后一个< li>下面。
我试过:<将底边距设置为ul




没有这样的属性。你有没有尝试过保证金?


史蒂夫


-

我的理论给你了,我的异端邪说激怒了你,

我从不回信,你也不喜欢我的领带。 - 医生


Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>


I have an unordered list as menu and want some space at the bottom,
underneath the last <li>.
I have tried:
setting bottom-margin to ul
setting bottom-margin to containing <div>
setting padding to ul and <div>
and all combinations of the above I could think of.

None seems to work.

Can someone tell me what I should do to get the desired effect?

I would be very grateful.
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]

解决方案

On Thu, 29 Jan 2004 17:26:36 +0100, A.Translator
<ad******************@yaBISHhoo.com> wrote:

I have an unordered list as menu and want some space at the bottom,
underneath the last <li>.
I have tried:
setting bottom-margin to ul
setting bottom-margin to containing <div>
setting padding to ul and <div>
and all combinations of the above I could think of.

None seems to work.

Can someone tell me what I should do to get the desired effect?

I would be very grateful.



Post a URL to the problem?


On Thu, 29 Jan 2004 11:31:34 -0500, Neal wrote:

Post a URL to the problem?



http://www.xs4all.nl/~hogen/TaalVlinder/ :
second menu from left ''vaktaal'' illustrates the problem: I want white
space at the bottom so that the text of the menu does not get hard to read
because of getting mixed into the content text.

Thank you for replying so promptly!
--
Groet, Adriana.
[throw rubbish out if you want to reach me by e-mail]


"A.Translator" <ad******************@yaBISHhoo.com> wrote:

I have an unordered list as menu and want some space at the bottom,
underneath the last <li>.
I have tried:
setting bottom-margin to ul



No such property. Did you try margin-bottom as well?

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>


这篇关于ul的底部填充或边距?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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