This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

html <option> with style is not work ? How to fix it?

more options

The older version worked normally. But update to new version has this problem. HTML <select> with style background-color and font-size and <option> also with , but only <select> is normal, when I click the <select> to change the <option> , this style is not work. I try to reset brower , it work. But when i restart firefox , this problem appeared again.

The older version worked normally. But update to new version has this problem. HTML <select> with style background-color and font-size and <option> also with , but only <select> is normal, when I click the <select> to change the <option> , this style is not work. I try to reset brower , it work. But when i restart firefox , this problem appeared again.

All Replies (2)

more options

Yes, most likely, it's a problem with form control styling in multiprocess Firefox.

Are you using e10s?

I'm pretty sure you are based on your symptoms, but you can confirm you have this feature turned on as follows. Either:

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, check the row for "Multiprocess Windows" and see whether the number on the left side of the fraction is greater than zero. If so, you are using e10s.

With e10s active, the "options" that display in the drop-down below a select control may be rendered using a default font instead of the one assigned by the page. However, I haven't seen enough examples to know the pattern of what font is used.

If you are using e10s:

To work around this issue, you could turn it off as follows:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste autos and pause while the list is filtered

(3) Double-click the browser.tabs.remote.autostart.2 preference to switch the value from true to false

Note: the exact name of the preference may vary, but it will start with browser.tabs.remote.autostart

At your next Firefox startup, it should run in the traditional way. Any difference?

Why is it okay after a Refresh, but only until the second session?

When you first install or after you refresh Firefox, it starts up traditionally and then performs a check to see whether it can use the new e10s feature starting with the next startup. That's why you see the change when you see it.

more options

By the way, the developers are mulling a solution to this. It might take a couple versions before it is finally released.