Html : Simple text box resizing by clicking and enlarging


This is a simple html text box resizing code.
You can resize this textbox by clicking the bottom right corner of box.

This box adjusts it contents when you resize it try and see demo.

DEMO:



Source code:

<textarea cols="70" rows="2" style="height: 67px; margin: 2px; width: 579px;">
You can enlarge this text box as you like.
</textarea>

In the above code you can change attributes as 

cols: number of columns
rows: number of rows
height :value you want
width : value you want


No comments:

Post a Comment