Closed Bug 66987 Opened 25 years ago Closed 25 years ago

woogie.net - table layout has gap between rows

Categories

(Tech Evangelism Graveyard :: English US, defect, P4)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mjw, Assigned: bc)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-3 i686; en-US; m18) Gecko/20010126 BuildID: 20010126 I've got a table with the following declaration: <table width="581" cellpadding="0" cellspacing="0" border="0"> but there is some space between the rows. This is at http://woogie.net/ I have rechecked the html, and I can't see anything wrong with it. IE and NS 4.7x render it as I expect. Reproducible: Always Steps to Reproduce: Go to http://woogie.net/ Actual Results: Table displayed with gap between rows. Expected Results: Table displayed with no gap between rows.
The page uses a 4.01 transitional dtd with URI, thus triggering Mozilla's strict layout mode that complies with the CSS2 box model. Bug 57123 has an excellent explanation of the cause of the gap: <quote> The doctype declaration triggers the standards layout mode and the CSS box model is applied. (Mozilla has two layout modes: quirks and standard. To use the quirks layout mode, remove the doctype declaration [or the URI from a transitional declaration].) The <a> element is a non-replaced inline element. As per spec its height is given by the line-height property--not the height of the content. http://www.w3.org/TR/REC-CSS2/visudet.html#q15 Also, by default images are aligned with the baseline of the <a> element--not with the bottom of the <a> element box. http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-vertical-align These aspects of the layout can be changed by explicitly overriding the default values via CSS. </quote> For example, setting the display:block style rule on <img> elements will make the gap disappear. Reassigning to evangelism like the other "gaps between images" bugs.
Assignee: karnaze → evangelism
Status: UNCONFIRMED → NEW
Component: Layout → Evangelism
Ever confirmed: true
QA Contact: petersen → zach
mjw@purplefrog.com, I just reread the bug and it looks like you're the author of the page. Feel free to email me at bzbarsky@mit.edu and ask for help getting rid of that gap if the comments I have already made here are not clear as to how to fix the problem.
Reassigning evangelism bugs to bclary@netscape.com.
Assignee: evangelism → bclary
Priority: -- → P4
Arun, I'm giving you all the Linux bugs. If these bugs can be confirmed for other OS's please (someone) change the Platform/OS to All/All and reassign to the default Evangelism Component Owner.
Assignee: bclary → aruner
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Arun, I am taking your Linux bugs minus banks. Hope you don't mind.
Assignee: aruner → bclary
Summary: table layout has gap between rows → woogie.net - table layout has gap between rows
fixed, uses transitional dtd
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.