100% TextArea in FireFox using absolute position

I am trying to make my textareafill all the free space I used:

I can not use 100% widthand height, as I have a field and paddings all over, I have to use an absolute position in the relative location of parent + top, right, bottomand leftall 0's - that do not work in FF. Any thoughts on how to fix this?

Update 1 - when replacing mine textareawith DIVit it starts to work.

Update 2 - Actual markup:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <div style="position: relative; margin: 25px; width: 200px; height: 200px; background-color: Gray;">
        <textarea style="top: 0px; right: 0px; bottom: 0px; left: 0px; position: absolute;">A</textarea>
    </div>
</body>
</html>
+5
source share
1 answer

Mr. Snook failed last year in March, but he suggested a way you could solve it:

?

+5

All Articles