Closed
Bug 59992
Opened 24 years ago
Closed 24 years ago
infrastructure bug for supporting table height via CSS
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
RESOLVED
WORKSFORME
mozilla1.0
People
(Reporter: Brade, Assigned: attinasi)
References
Details
(Keywords: compat, css2)
This is a bug for any layout infrastructure issues there may be for supporting
table height via CSS. (Note: <table height=99> isn't valid in HTML4 so there
may or may not be issues with getting table height to work with CSS.
I'd like to see the priority of this bug increased enough to be fixed by v1.0.
Rationale: Without being able to use the CSS height properties in a table,
there isn't any way to center an object vertically in the window (other than a
background image). The CSS positioning descriptors don't do the job unless you
know the exact dimensions of the object you are positioning in advance. It is
the combination of the CSS 'height:100%' and table 'valign="middle"' that
works. This is a common problem that needs to be addressed.
For a test you can try
http://www.members.home.net/simmycort/travelpics.html and click any
photo button on the right. Compare to the results with IE and you'll
see what I mean (these pages may be taken down soon).
This bug is related to 52073. I have added the CSS "html,body,table
{height:100%;width:100%;margin:0px}" and items are now correctly aligned.
Adding these style descriptors is definitely a hack, though.
I have not changed the bug dependencies for either this bug or 52073. I'll let
you guys work that out amongst yourselves.
Comment 7•24 years ago
|
||
Mozilla actually _does_ support table height via CSS - it's just following the
CSS spec more closely than IE. In quirks mode, however, the behaviour seems to
be identical to IE's.
See bug 52073 for an explanation, a link to the relevant section of CSS2 and a
(hackish) workaround.
Comment 8•24 years ago
|
||
As previously stated, we are already doing things right (per spec in standard
mode, and emulating legacy browsers' behaviour in quirks mode).
Resolving Worksforme.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•