Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

160
Visualizações
Titles for Custom Select Drop Down Box CSS

I am using the below option to create some custom select boxes

https://www.w3schools.com/howto/howto_custom_select.asp

However this option does not allow to create titles or headings which are disabled from the selectable options.

With the standard combo/list box option i use to create these using for example with a style option per item below which would stand out:

<option value="10600" style="font-weight: bold; color: #000000; background-color: #ffffff;" disabled >Colours</option>

The other options would be as per below:

<option value="10601">Blue</option>

Would anyone be able to confirm the best way to intergrate titles or headings within the CSS listbox/dropdown area with the titles being non-selectableand in a different colour or format?

Thank you

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda