Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

Why does Value attribute of html text input forms not display in FF? It displays properly in Chrome-21, IE8, Opera 12

  • 3 respostas
  • 3 têm este problema
  • 237 visualizações
  • Última resposta de philipp

more options

was testing simple form html as follows:


<style type="text/css"> </style>

<form> Username: <input type="text" name="username" value="Enter Name Here">


Text for the "value" attribute "Enter Name Here" did not display when page rendered in FF 15.0.1, but does fine in other mentioned browsers.

</form>
was testing simple form html as follows: --------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "_//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> </style> </head> <body> <form> Username: <input type="text" name="username" value="Enter Name Here"/> </body> </html> ------------------------------------------------------------------------------------------------------------- Text for the "value" attribute "Enter Name Here" did not display when page rendered in FF 15.0.1, but does fine in other mentioned browsers.

Solução escolhida

hello hopon, when i just put these two lines into a .html file it works for me. could you try to do the troubleshooting steps at Websites look wrong or appear differently than they should or reset firefox...

Ler esta resposta 👍 1

Todas as respostas (3)

more options

Solução escolhida

hello hopon, when i just put these two lines into a .html file it works for me. could you try to do the troubleshooting steps at Websites look wrong or appear differently than they should or reset firefox...

more options

Hi madperson, I went thru the troubleshooting steps with no change in the problem, but doing a full reset worked. Thanks :0)

Also: How do I mark a problem as solved? If there's a button, I'm just not seeing it.

more options

ok thanks for reporting back - by marking the prior answer as solution the question is considered as solved.

Alterado por philipp em