搜尋 Mozilla 技術支援網站

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

了解更多

What is the userChrome entry for the border around input boxes?

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

more options

I run KDE with a dark theme, and the input boxes in Firefox 31 are black with white text, which is annoying. I learnt to edit the userChrome file and add:

input { background-color: white !important; color: black !important; }

Now, there is a problem. While it literally makes backgrounds white and texts black, it leaves an *ugly* black border! I took a snapshot, if you want to look: http://linuxmusicians.com/download/file.php?id=490

What is the name of that black thing, in the userChrome file? How can I change it to white?

Thanks a lot!

I run KDE with a dark theme, and the input boxes in Firefox 31 are black with white text, which is annoying. I learnt to edit the userChrome file and add: input { background-color: white !important; color: black !important; } Now, there is a problem. While it literally makes backgrounds white and texts black, it leaves an *ugly* black border! I took a snapshot, if you want to look: http://linuxmusicians.com/download/file.php?id=490 What is the name of that black thing, in the userChrome file? How can I change it to white? Thanks a lot!

被選擇的解決方法

Hey, Sorry the attachment is not working, but there was a css you may try:

input { background-color: white !important; color: black !important; border: solid white;}

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

所有回覆 (3)

more options

選擇的解決方法

Hey, Sorry the attachment is not working, but there was a css you may try:

input { background-color: white !important; color: black !important; border: solid white;}

more options

Just in case:

userChrome.css - for user interface

userContent.css - for web pages

more options

That solved it, thank you so much!