Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Select lists in forms are ignoring the size attribute

  • 2 respostas
  • 4 têm este problema
  • 15 visualizações
  • Última resposta por talez

more options

I have a web app that only uses Firefox, over the past few days every select list in my app where its height is specified by the size attribute, has turned into a un-usable single line "list", and the only way to give it its height back is specifying the height in it's style.

Did the size attribute get deprecated and i don't know about it?

Its king of a pain in the butt to have to change all my code for these so that my app actually works again.

I have a web app that only uses Firefox, over the past few days every select list in my app where its height is specified by the size attribute, has turned into a un-usable single line "list", and the only way to give it its height back is specifying the height in it's style. Did the size attribute get deprecated and i don't know about it? Its king of a pain in the butt to have to change all my code for these so that my app actually works again.

Todas as respostas (2)

more options

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

  • Don't make any changes on the Safe mode start window.

See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems

more options

I have this problem too, and the fix is to set the height css property in addition to the size attribute.

Someone suggested when the size attribute is set, it triggers the height property to be settable