Closed Bug 59992 Opened 24 years ago Closed 23 years ago

infrastructure bug for supporting table height via CSS

Categories

(Core :: Layout, defect, P3)

defect

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.
Blocks: 59993
Blocks: 59991
harishd, is this yours or jst's.
Assignee: karnaze → harishd
This sounds like layout. --> Mark.
Assignee: harishd → attinasi
OK - accepting
Status: NEW → ASSIGNED
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).

--> Moz 1.0
Target Milestone: --- → mozilla1.0
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.
Blocks: 52073
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.
Keywords: compat, css2
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: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.