Closed Bug 215111 Opened 21 years ago Closed 21 years ago

table height=100% within form doesn't work

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 195732

People

(Reporter: mjacob, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Inside a form the table attribute height="100%" does not work
properly.
Take the example code and comment/uncomment the form tags.

widht="100%" works well

Reproducible: Always

Steps to Reproduce:
1.execute the given example
2.
3.

Actual Results:  
Height is not 100% of the frame when the table is in a form

Expected Results:  
Height of table should be 100% (needed to center vertical in a page)

<html>
<body>
<form name="WebForm" method="post">
    <table cellpadding="1" cellspacing="0" border="1" height="100%" width="100%">
        <tr>
            <td valign="middle" align="center">Marco</td>
        </tr>
    </table>
</form>
</body>
</html>
Reproducible on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030804

IE6 displys the blank square over the entire screen, moz displays it only in the
first line...

*** This bug has been marked as a duplicate of 195732 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.