为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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!