Closed Bug 245993 Opened 20 years ago Closed 20 years ago

Unwanted vertical spacing added when Table inside Form

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 41806

People

(Reporter: support, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

If a Table of height 100% is surrounded by (inside a) Form tag, extra vertical
spacing is added to the bottom of the page (thus, creating a vertical scrollbar
etc). Deleting the Form tag removes this space.


Reproducible: Always
Steps to Reproduce:
1. HTML:
<html>
<body id="pgbody" leftMargin="0" rightMargin="0" bottomMargin="0" topMargin="0">
<form name="form1">
	<table id="Master" cellspacing="0" cellpadding="0" border="0" height="100%"
align="center">
		<tr>
			<td width="25" bgcolor="#ff0000"></td>
		</tr>
	</table>
</form>
</body></html>



Actual Results:  
Extra vertical spacing was added to the page

Expected Results:  
The table should have fit the page neatly, without spacing or a vertical scrollbar.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk

*** This bug has been marked as a duplicate of 41806 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: