為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Checkbox and radiobutton are not smooth in appearance when size is changed from the default

  • 4 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 Randy

more options

When sizing checkboxes and radiobuttons, they are not displayed smooth (ie. jagged/pixelated). There are CSS tricks to style these but it seems like a lot of work for something that (I think) the browser should handle natively. Other browsers (eg. Chrome, IE, Edge, Safari, etc) do not have this issue and render these controls cleanly when resized.

When sizing checkboxes and radiobuttons, they are not displayed smooth (ie. jagged/pixelated). There are CSS tricks to style these but it seems like a lot of work for something that (I think) the browser should handle natively. Other browsers (eg. Chrome, IE, Edge, Safari, etc) do not have this issue and render these controls cleanly when resized.

所有回覆 (4)

more options

Update your Video Card Drivers

more options

Seriously? If that was not a joke, please see attached screen shot.

more options

I'm not seeing this effect on Linux.

Looks that in you case a background image is used that doesn't scale properly. Such an input element usually has "-moz-appearance:radio" and thus in styled via native Windows CSS rules that in your case do not seem to work well when zoomed (i.e. not a scalable (SVG) image)

more options

I went to the site you referenced (above) using Firefox and the radio button displayed the same as it does on my webpage (ie. grainy).

I am not using any images for radio buttons. Therefore, it must be a Firefox image.

I originally started using Firefox at version 2 and have been upgrading it ever since so maybe something is out of whack. Therefore, I uninstalled Firefox and then reinstalled it but the radio button still displays the same.