搜尋 Mozilla 技術支援網站

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

Learn More

Form checkboxes styling lost in Firefox browser

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

more options

Hi,

I made CSS styling for form checkboxes that won't appear in Firefox browser. Could you please how can I get my stylings revealed in Firefox?

URL: https://www.almatalent.fi/tilaa-koulutusten-asiakaskirje/

Screenshot provided

Hi, I made CSS styling for form checkboxes that won't appear in Firefox browser. Could you please how can I get my stylings revealed in Firefox? URL: https://www.almatalent.fi/tilaa-koulutusten-asiakaskirje/ Screenshot provided
附加的畫面擷圖

被選擇的解決方法

You have to remove width: 0; height: 0;. That's all.

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

Did you test it in another browser? It looks similar.

It's because you have:

form input[type="checkbox"] {
 width: 0;
 height: 0;
}
more options

It's working correctly on safari & chrome and even IE. See attached.

more options

Added -moz-appearance: none; and no success

more options

選擇的解決方法

You have to remove width: 0; height: 0;. That's all.