Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

161
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda