搜尋 Mozilla 技術支援網站

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

了解更多

Can I hide the up/down arrows on input forms?

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I'm having some display problems with the little up/down arrows that appear on numerical input forms. Most of the time these are pretty unobtrusive, but on some sites the arrows take up so much space they obscure the numbers in the field. I've added a screenshot from a Roll20 character sheet to illustrate the problem- the collumns are fixed-width, so re-sizing the window doesn't help, and I couldn't find any options in the settings menu which relate to these arrows.

Is there a way I can have the arrows hidden by default, and only appear when I mouse over the field? Or am I just going to have to use Goggle Chrome whenever I want to use this website?

I'm having some display problems with the little up/down arrows that appear on numerical input forms. Most of the time these are pretty unobtrusive, but on some sites the arrows take up so much space they obscure the numbers in the field. I've added a screenshot from a Roll20 character sheet to illustrate the problem- the collumns are fixed-width, so re-sizing the window doesn't help, and I couldn't find any options in the settings menu which relate to these arrows. Is there a way I can have the arrows hidden by default, and only appear when I mouse over the field? Or am I just going to have to use Goggle Chrome whenever I want to use this website?
附加的畫面擷圖

所有回覆 (3)

more options

Check your zoom controls.

<Control> (Mac=<Command>) + (plus) enlarge - (minus) reduce 0 (zero) restore

more options

This doesn't change the relative size of the arrows- the whole table gets bigger or smaller, but the arrows still take the same amount of space within each field.

more options

You can add code to the userContent.css file to only show the spinners on hover.


input[type=number]:not(:hover) {-moz-appearance: textfield !important;}

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true