How to create a fix dimension ( width * height) textarea

In Html, give text area and we can set width and height but site user can move the textarea.
This solution Is available in css. We can use resize attribute to create a fix text area.

So, let’s see example HTML File Is :

<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
.text {
textarea {


Possible Type is Following:

1. None = no - resize textarea
2. vertical = only vertical resize.
3. horizontal = only horizontal resize.
4. Both = horizontal - vertical resize.



<div class="text">

<textarea name="elem" id="elem" rows="5" cols="50"></textarea>

Now You can create a better textarea. Next time we meet some better techniques.


Popular posts from this blog

N Queen Problem using c and c++

Greedy Prim Algorithm using c/c++

m Coloring Problem using c or c++