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

搜索 | 用户支持

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

详细了解

Firefox ignores font color selections. I want to use a black background with white text. The white text is displayed in some places but not in text boxes. On th

  • 5 个回答
  • 7 人有此问题
  • 1 次查看
  • 最后回复者为 bfrs

more options

I am visually handicapped. I have set the Firefox preferences so that the background color is black and the text color is white. I un-checked the allow web pages to use their own colors box. When I go to the Google search page the background is black but when I type in the search field the text is also black and I can't read it.

I am visually handicapped. I have set the Firefox preferences so that the background color is black and the text color is white. I un-checked the allow web pages to use their own colors box. When I go to the Google search page the background is black but when I type in the search field the text is also black and I can't read it.

所有回复 (5)

more options

Hi cbrew,

There are a few options that may be considered here, so I will give brief details of the ones I am thinking could help.

The OS itself may have options that help, and you may as you have tried select to use chosen settings but these simple solutions are often unsatisfactory.

I note Accessibility features in Firefox - Make Firefox and web content work for all users#w_using-a-high-contrast-theme says:

Using a High Contrast Theme
Firefox automatically detects if you are using a High Contrast theme and displays everything in your high contrast color scheme. This overrides all other other browser or web page settings, and it affects the Firefox interface itself (all menus, windows, and dialog boxes) and the content of any web page you visit. 

That may well be worthwhile trying as an alternative to simply changing font size and colour.

THIS MAYBE THE BEST IDEA
There is a popular add on called No Squint, it takes quite a bit of setting up to work properly but it is very powerful.


Additionally it is possible to change settings that includes the Firefox User Interface, it is fiddly, and will probably only be worthwhile if using No Squint. It involves setting the preference layout.css.devPixelsPerPx


You may also be interested in

由John99于修改

more options
more options

I have tried every suggestion but nothing fixes the problem. I downloaded NoSquint and it had no effect. This is a simple problem. All I want to do is make the font color for text white everywhere on a web page. Firefox ignores my selection for text font color in text boxes such as the search box on the Google home page. How can this be fixed? Thanks much.

more options

Try code like this in the userContent.css file below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.


button, input, select, select > input[type="button"], textarea {
 -moz-appearance: none !important;
 background-color: black !important;
 color: white !important;
}

由cor-el于修改

more options

Extrapolating cor-el's answer worked for me. Here's what I did:

Install the firefox Add-on Stylish:

https://addons.mozilla.org/en-US/firefox/addon/stylish/?src=external-userstyleshome

Goto Stylish's companion website:

http://userstyles.org/

Search for Google on userstyles.org and install the following theme:

Black Google 2012 by Panos

http://userstyles.org/styles/61377/black-google-2012-by-panos

Once you install Stylish its easy to install Stylish themes from userstyles.org

My main problem was with the Google Search box, with nothing visible (black text color on black background)

To add more sites where you want this "Black Google" theme to work, go to firefox's Add-on manager (Ctrl + Shift + A), and click Edit next to this theme. You'll find a list of google sites at the top, just add whatever you want to these.

由bfrs于修改