How do I make a input box a certain size on HTML/PHP page?

  • Thread starter Thread starter Lewis
  • Start date Start date
L

Lewis

Guest
Basically I want to make a input box where people can input some text but I want the input box to a bit like Facebooks update status box, not too tall but quite wide

And also if you know, could you please tell me how to get text in the box and then upon clicking it, it disappears

For example

Box would have in it...

TYPE HERE but as soon as the user clicks on it, it disappears and allows them to input text

Cheers
 
use <TEXTAREA name="yourFieldName" cols="??" rows=""> </TEXTAREA>

set size for cols and rows (eg cols="80" rows="3")
If
 
simply write css code to design input box and its font design. set size width to ur text box in css.
 
Back
Top