单选按钮在Chrome中显示不必要的白色背景。 Firefox是好的 [英] Radio buttons show unwanted white background in Chrome. Firefox is fine

查看:148
本文介绍了单选按钮在Chrome中显示不必要的白色背景。 Firefox是好的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google Chrome中,单选按钮会在圆圈周围显示不必要的白色背景。这在Firefox中未按预期显示。

In Google Chrome, radio buttons show a unwanted white background around the circle. This is not shown in Firefox as intended.

请检查这些图片。

Please check these images.

她是发生问题的页面的直接链接(请检查Firefox和Chrome)
https://my.infocaptor.com/dash/mt.php?pa=hr_dashboard3_503c135bce6f4

And her is the direct link of the page having the issue (check in Firefox and Chrome) https://my.infocaptor.com/dash/mt.php?pa=hr_dashboard3_503c135bce6f4

我可以申请的任何CSS技巧Chrome?

Any CSS tricks that I can apply for Chrome?

推荐答案

我知道这是一个老线程,但我有同样的问题, out,所以我发布这个如果别人有同样的问题。
我真的意外地想出来了。我正在看着别的东西,放大页面使用ctrl和滚动,看到单选按钮没有白色背景了(看起来更好)。所以我只是:

I know this is an old thread, but I had this same problem and it took me a while to figure it out, so I'm posting this if someone else has the same problem. I figured it out quite accidentally really. I was looking at something else and zoomed in on page using ctrl and scroll, and saw that radio button didn't have white background any more (and looked better). So I just put:

zoom: 0.999;

在右侧css类中,并修复它。

in right css class and that fixed it for me.

这篇关于单选按钮在Chrome中显示不必要的白色背景。 Firefox是好的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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