gecko/layout/html/tests/formctls/bugs/bug40596-1.html

36 lines
801 B
HTML

<HTML>
<BODY>
<FORM>
This is the way both tables should be laid out... <br>
<TABLE border="1" width="400">
<TR>
<TD style="width:80%">
&nbsp;
</TD>
<TD style="width:20%">
&nbsp;
</TD>
</TR>
</TABLE>
<BR>
<BR>
This is the same table, only it has an input box with width = 100% in the right-most cell<BR>
Note that the width of the input box is not constrained by its container, as it should be<BR>
<TABLE border="1" width="400">
<TR>
<TD style="width:80%">
&nbsp;
</TD>
<TD style="width:20%">
<INPUT type="text" style="width:100%">
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>