Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

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.
0
rblampain
Asked:
rblampain
1 Solution
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now