为什么IE在我的链接周围添加了一个白色空间像素? [英] Why does IE add a pixel of white space around my links?

查看:62
本文介绍了为什么IE在我的链接周围添加了一个白色空间像素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


这里我再次提到另一个为什么IE会这样做问题!!


请查看 http://www.kidsinaction.org.uk/fd/homepage.html

看看你是否可以解决为什么IE在其上添加一个像素的空白区域

左右两侧的浅绿色背景链接。它没有b * b在标题链接上没有这样做,它有更深的绿色背景。


FF和Opera根本没有添加像素,这就是我所期望的

我将所有相关元素的左右边距设置为零。


有什么建议吗? TIA


-

Alan Silver

(此行下方添加的任何内容都与我无关)

解决方案

2006年4月26日星期三19:50:24 +0100,Alan Silver

< al ****** ***@nospam.thanx.invalid>写道:

这里我再次与另一个为什么IE会这样做问题!!

因为它很糟糕。

请看看 http://www.kidsinaction.org.uk/fd/homepage.html
看看你是否可以解决为什么IE添加一个像素
左侧和右侧的白色空间与浅绿色背景的链接。它没有在标题链接上做,它具有较深的绿色背景。




只是为了踢,如果你填写href会发生什么链接?


Ken


2006年4月26日星期三15:46:20 -0400,Ken Loomis

< no ************** @ address.com>写道:

2006年4月26日星期三19:50:24 +0100,Alan Silver


请查看 http://www.kidsinaction .org.uk / fd / homepage.html
并看看你是否可以解决为什么IE在链接的左侧和右侧添加一个像素的白色空间 - 绿色背景。它没有在标题链接上做,它具有较深的绿色背景。



只是为了踢,如果你填写href链接会发生什么?




嗯,我试过了,它没有帮助。


这是你的页面的背景颜色继承你的ul。

如果你把

背景:rgb(136,192,184);

在你的ul中看起来会很好看直到某人徘徊在李。也许你

可以忍受。可能有更好的解决方案。 (比如告诉

你的用户不要使用IE浏览器)


Ken


Alan Silver写道:


请查看 http://www.kidsinaction.org.uk/fd/homepage.html
并看看你是否可以解决为什么IE在
左右两侧添加一个像素的空白区域与浅绿色背景的链接的一侧。

任何建议?




与我之前建议相同:添加缩放属性


-

回复电子邮件地址是无底垃圾邮件桶。

请回复群组,以便每个人都可以分享。


Hello,

Here I am again with another "why does IE do that" question!!

Please have a look at http://www.kidsinaction.org.uk/fd/homepage.html
and see if you can work out why IE adds a one pixel white space on the
left and right side of the links with the light-green backgrounds. It
doesn''t do it on the header links, which have darker green backgrounds.

FF and Opera don''t add the pixel at all, which is what I would expect as
I set left and right margins to zero for all relevant elements.

Any suggestions? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)

解决方案

On Wed, 26 Apr 2006 19:50:24 +0100, Alan Silver
<al*********@nospam.thanx.invalid> wrote:

Here I am again with another "why does IE do that" question!!
because it sucks.
Please have a look at http://www.kidsinaction.org.uk/fd/homepage.html
and see if you can work out why IE adds a one pixel white space on the
left and right side of the links with the light-green backgrounds. It
doesn''t do it on the header links, which have darker green backgrounds.



Just for kick, what happens if you fill in the href links?

Ken


On Wed, 26 Apr 2006 15:46:20 -0400, Ken Loomis
<no**************@address.com> wrote:

On Wed, 26 Apr 2006 19:50:24 +0100, Alan Silver


Please have a look at http://www.kidsinaction.org.uk/fd/homepage.html
and see if you can work out why IE adds a one pixel white space on the
left and right side of the links with the light-green backgrounds. It
doesn''t do it on the header links, which have darker green backgrounds.



Just for kicks, what happens if you fill in the href links?



Well, I tried that and it didn''t help.

It''s the background color of your page being inherited by your ul.
If you put
background: rgb(136, 192, 184);
in your ul it will look good until someone hovers on the li. Maybe you
can live with that. There''s probably a better solution. (like telling
your users not to use IE)

Ken


Alan Silver wrote:


Please have a look at http://www.kidsinaction.org.uk/fd/homepage.html
and see if you can work out why IE adds a one pixel white space on the
left and right side of the links with the light-green backgrounds.

Any suggestions?



Same as I suggested before: add the zoom property

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.


这篇关于为什么IE在我的链接周围添加了一个白色空间像素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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