html frames & textarea

Posted on 2005-04-10
Last Modified: 2010-04-06
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.
Question by:rblampain
    LVL 32

    Accepted Solution

    Try using CSS and height:100%, width:100%

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


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
    <style type="text/css">
    <textarea style="width:100%;height:100%" cols="40" rows="40"></textarea>

    Author Comment

    I changed ISP, sorry for delay.
    Will try your solution soon and get back to you.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: Create Mobile App Prototypes with Adobe XD

    This is a project-based course: we go through all the steps of creating a prototype from start to finish, using all the tools and features currently available in Adobe XD. You can complete the course in less than a day, plus all project files and fonts are included.

    Suggested Solutions

    Title # Comments Views Activity
    carriage return in xslt cell 13 55
    error email attachment VB2010 5 25
    Clean URL from GET variables 2 69
    jQuery Date picker not working 16 50
    When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
    Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now