English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is there any way to make the height of a textarea relative (e.g., 90%) instead of a fixed number of rows or a fixed number of pixels (either in html or css), so that it completely fills the height of the window or table cell it's in?

2006-09-06 03:50:25 · 3 answers · asked by allonmason 1 in Computers & Internet Programming & Design

You can see an example of a text-area with relative height in Gmail (compose message)...

There has to be a solution!

2006-09-06 04:25:57 · update #1

3 answers

no, you can't. According to the HTML standard, the rows value is a required field and must be a number.

The text area Gmail uses is actually generated by Javascript. It is an Ajax app (thus the other tricks it includes like adding bold, fonts, etc.)

2006-09-06 03:56:37 · answer #1 · answered by John J 6 · 0 0

Have you tried using percentages? If I were you, I'd try percentages for cols, rows, height and width, one of them oughta work, and if none do: Check www.w3schools.org

2006-09-06 03:53:47 · answer #2 · answered by cactuar2k 3 · 0 0

try here
http://www.windowsbbs.com/index.php

2006-09-14 02:26:59 · answer #3 · answered by hfdsguy_47 2 · 0 0

fedest.com, questions and answers