Closed
Bug 204169
Opened 22 years ago
Closed 21 years ago
Height property for tables does not work correctly into a layer
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: raulpomon, Unassigned)
References
()
Details
(Keywords: compat)
Attachments
(1 file)
552 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030429 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030429 Mozilla Firebird/0.6
If we have a web page with a main table into a layer "<div align=center>" for
example, with height="100%", and we have three rows and second row with
height="100%", the table does not fit to the height of the window, and Internet
Explorer fits the table. It's correctly?
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
The next table should fit into the window:
<div align="center">
<table width="100%" height="100%">
<tr>
<td>Top cell</td>
</tr>
<tr>
<td height="100%">Middle cell fits in Explorer</td>
</tr>
<tr>
<td>Bottom cell</td>
</tr>
</table>
</div>
If we quit <div> tag the table fits to window, but not with <div> tag.
Comment 1•22 years ago
|
||
*** Bug 204170 has been marked as a duplicate of this bug. ***
Comment 2•22 years ago
|
||
Width is a deprecated attribute for table headers and data cells but not for the
table itself.
See:
http://www.w3.org/TR/html4/struct/tables.html#h-11.2.1
http://www.w3.org/TR/html4/appendix/notes.html#h-B.5.1.1
Invalid? I shall leave this alone for now.
Comment 3•22 years ago
|
||
I meant height instead of width.
Comment 4•22 years ago
|
||
Hmm, I wonder if this bug is a dupe of bug 10212 ("Height: 100% does not work
when nesting tables"). Same issue (table inside <div>) is mentioned there in
comment #12.
Updated•22 years ago
|
Component: Browser-General → Layout: Tables
Comment 5•22 years ago
|
||
Ah, the div has no height set - so the 100% height set to the table is
ignored... Dupe of bug 41656?
this has been fixed by the checkin for bug 222730
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•