Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

"background-color" property not rendering on dropdown option elements

  • 1 svar
  • 0 har detta problem
  • 1 visning
  • Senaste svar av k8spitzer

more options

I'm using a webpage that involves selecting colors from a dropdown list. On this dropdown list, every element's color is displayed using a CSS "background-color" property. Using dev tools, I can see that this CSS value is making it through to the calculated CSS for this element. However, there is no background color displayed for any dropdown elements.

This is the page in question, but it may be locked behind an account: https://www1.flightrising.com/scrying/predict/33084110

Attached screenshot of list, and its CSS displayed in dev tools.

I'm using a webpage that involves selecting colors from a dropdown list. On this dropdown list, every element's color is displayed using a CSS "background-color" property. Using dev tools, I can see that this CSS value is making it through to the calculated CSS for this element. However, there is no background color displayed for any dropdown elements. This is the page in question, but it may be locked behind an account: https://www1.flightrising.com/scrying/predict/33084110 Attached screenshot of list, and its CSS displayed in dev tools.
Bifogade skärmdumpar

Ändrad av k8spitzer

Alla svar (1)

more options

[deleted this comment]

Ändrad av k8spitzer