Thursday, March 1, 2012

How to disable textarea resizing with Css?

Today I had to make `something` so my textarea field could not be resized. There might be different reasons why a user should not resize a textarea(which is a default setting in most browsers).
So if you want your textarea to be fixed, no rezise just use this in your css style:

    
.your_div textarea {
    resize: none;
}

There you go :)
Regards

No comments:

Post a Comment