Click to See Complete Forum and Search --> : txt box gap


jam
12-23-2005, 04:57 PM
is there a way to specify the size of the gap between the text and the edge of the box in a text box?????????

Kravvitz
12-23-2005, 05:05 PM
Some browsers may allow you to do that by changing the padding and/or line-height of the text box with CSS.

pcthug
12-23-2005, 06:44 PM
Yes, you can use padding, and don't worry its supported by all major browsers. Heres the code:

<textarea rows="200" name="Name" cols="200" style="padding: 10px"></textarea>

Or you can do the same with css

jam
12-24-2005, 03:21 PM
oh thx i get ya.... jam