Thursday 15 March 2012

html - Weird behavior: Placeholder not appearing on the textarea -


I want to create a "comment plugin", so I started with markup and some styles.

Everything was OK until I added the textarea element

HTML code for that element:

  & Lt; Textarea rows = "7" cols = "37" placeholder = "Ingersche Soo Comterio" & gt; & Lt; / Text field & gt;   

But something strange happened, because when I loaded the page, a default text appears in the textranina.

  1. Q1: What do you think is happening?
  2. Q2: How to fix it?

    Thank you, Leonardo

    PS: If this works, then I have Chrome version 27.0.1453.116 Work with Remove line breaks in TextRena from markup in any place, place between HTML formatting textures and closing tags.

    Change this:

      & lt; Textarea rows = "7" cols = "37" placeholder = "Ingersuit Sue Comterio" & gt; & Lt; / Text field & gt;   

    to:

      & lt; Textarea rows = "7" cols = "37" placeholder = "Ingersuit Sue Comterio" & gt; & Lt; / Textarea & gt;   

    and just allow your texture to be a padding-left other input boxes

      Tetaria {padding-left: 10px; }    

No comments:

Post a Comment