Closed Bug 233476 Opened 22 years ago Closed 22 years ago

tables with height = 100% do not handle td valign correctly

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 88035

People

(Reporter: kaaskonk, Unassigned)

References

()

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 The tag <td valign="middle"> should display vertically centered in any window size. It works when the table has an exact pixel size, but not when the table height is 100%. Rather than being vertically centered, it appears at the top of the page. example: <table align="center" border="0" height="100%"> <td valign="middle" align="center"> this phrase should be centered in the page </td> </table> Reproducible: Always Steps to Reproduce: 1.look at kaaskonk.com/tdvalignbug.html 2. 3. Actual Results: The web page displays with text at the top rather than vertically centered. Expected Results: The page should display with the text vertically centered.
> Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) > Gecko/20030624 That's really old. This has been fixed for a good while now. In any case, the problem is not the valign but the fact that the 100% was ignored and the table was not the height of the page (as putting borders on it would show). *** This bug has been marked as a duplicate of 88035 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.