ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

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 ردود
  • 3 have this problem
  • 1 view
  • آخر ردّ كتبه 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...

Read this answer in context 👍 1

All Replies (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.

Modified by philipp