Internet Explorer按钮:活动内部填充 [英] Internet Explorer button:active inner-padding

查看:132
本文介绍了Internet Explorer按钮:活动内部填充的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Trident < = 9 似乎会将内部填充附加到活动






不,你不能摆脱它(在旧版本的Internet Explorer中)。



As @Spudley说:


如果你不想要那个效果,不要使用按钮元素。




如果真的很重要,那么 a 元素是唯一的选择,但它不是真的值得切换只是来解决这个问题。使用Internet Explorer的用户。


Trident <=9 seems to append something like an inner-padding to active elements.

Is it possible to disable this feature by using css ?

解决方案

Update: For IE11+, it can be removed.


No, you can't get rid of it (in old versions of Internet Explorer).

As @Spudley said:

If you don't want that effect, don't use a button element.

If it really matters, then an a element is the only alternative, but it's not really worth switching just to fix this. Users of Internet Explorer are used to it.

这篇关于Internet Explorer按钮:活动内部填充的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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