How to align the pointer to the top left of the textbox?

  • AutumnHouse
    Asked on November 27, 2014 at 2:51 AM

    How to align the pointer to the top left of the textbox? Image 1 Screenshot 20

     

    Can I don't align the text at the center? 

  • Ben
    Replied on November 27, 2014 at 9:45 AM

    Hi,

    I see that that is a plain textbox. I would instead suggest using textarea which would allow them to start at the top and fill it out completely. The textbox will only allow you to fill out one line of the text no matter how big the box is.

    Best Regards,
    Ben

  • DarkFx
    Replied on November 27, 2014 at 10:00 AM

    Hi AutumnHouse,

    Even I don't see your form but I think I understand about your question, I see your screenshot and you are using textbox on that field that you can't align the text to the top left.

    Using textbox or input type="text" element is used for a single line of text.

    It does not matter what height you apply to this element, the text will always be vertically-aligned in the middle.

    I would suggest use textarea instead of textbox, if your problem is the textarea is resizable and have a scroll on IE, don't worry about that we can fix that issue by using the CSS below.

    textarea { overflow: auto; /* Remove the scroll on IE */

    resize: none; /* Remove the resizable */ }

    Hope this help!

    Thanks.