Closed Bug 279734 Opened 20 years ago Closed 20 years ago

valign property in table does not display properly

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: wizardly_5p4m, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Firefox/0.9.3

The cells with the vallign property don't display as they should. The strange
thing is that when I remove the doctype it DOES work. That's a rather dirty
solution though.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

(note Internet Explorer can't handle the vallign property at all, but the page
displays perfectly in Opera (both with and without doctype))


Reproducible: Always

Steps to Reproduce:
1. Create a html table using the vallign="bottom" property in a heading cell
2. Add the proper html doctype
3. Open in Firefox

Actual Results:  
The text in the cell is not vertically alligned toward the bottom.

Expected Results:  
The text should be on the bottom of the cell, even if it is a heading.
vallign should be valign... that mistake was not made in the source.
Summary: vallign property in table does not display properly → valign property in table does not display properly
The H2 IS bottom-aligned, you can check this by giving the TH more height, say
200px. Your problem is that H2 has a bottom margin; try <h2 align="left"
style="margin-bottom: 0">.

And please use a newer build to report bugs, FF 0.9.3 is just too old.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.