html frames & textarea

I have a frameset document that divides the screen in 6 equal areas (2 rows x 3 cols),  this is used by 6 html scripts that are "textarea" within "forms".

Does anyone know how to make the "html textarea" adjust in size to the space available in each frame (php or javascript)?

Thank you for your help.
rblampainAsked:
Who is Participating?
 
BatalfCommented:
Try using CSS and height:100%, width:100%

<textarea style="width:100%;height:100%" cols="40" rows="40"></textarea>

Example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<title>Test</title>
<style type="text/css">
body{
    width:100%;
    height:100%;
    padding:0px;
    margin:0px;
}
</style>
<body>
<form>
<textarea style="width:100%;height:100%" cols="40" rows="40"></textarea>
</form>
</body>
0
 
rblampainAuthor Commented:
I changed ISP, sorry for delay.
Will try your solution soon and get back to you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.