Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 3 trả lời
  • 3 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi 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!

Giải pháp được chọn

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;}

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (3)

more options

Giải pháp được chọn

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!