搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 3 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 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.

被采纳的解决方案

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...

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

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.

由philipp于修改