Closed Bug 278887 Opened 20 years ago Closed 20 years ago

Tables not aligned on web page when total width 100% + Borders

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: brendthess, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 (ax)

The page at the link above contains a combination of tables and DIVs.  There are
three tables -- one used as a header, one as a sidebar, and one for the main body.

The sidebar table is set to 30% width; the main table is set to 70% width.  In
theory, these two should be able to sit side-by-side with no issues, and in IE,
these tables do sit side-by-side.  However, in Firefox, the "sidebar" table is
rendered and then, below it, the "main body" table is rendered.

Standards-wise, the page only has a few problems, (e g. unencoded ampersands in
embedded URLs, no Doctype, etc).  No standards-based flaw is seen, and as it
seems that 30%+70 = 100%, and you should be able to use 100% of the width, that
this should be legal.

Reproducible: Always

Steps to Reproduce:
1. Browse to website in Firefox
2.
3.
Actual Results:  
Tables render one above the other

Expected Results:  
Tables should render side-by-side
A current nightly build agrees with your arithmetic, and displays the two
columns side-by-side, so whatever it was got fixed sometime after 1.0's layout
code branched last spring. Next release, should be fine.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.