Closed Bug 259008 Opened 20 years ago Closed 20 years ago

Overflowed div disregards bottom padding

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 47710

People

(Reporter: henrik.pauli, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 I experienced while making my site (which validates as XHTML 1.1 and CSS) that divs which are scroll or auto overflow, do not take the padding-bottom into count. Maybe it's a thing with using ex as a unit there -- but it really ought to work in that case too, anyway. Reproducible: Didn't try Steps to Reproduce:
WFM, Mozilla 1.7.2 and 2004-09-11-07 trunk Linux. Please attach a screenshot of the problem using this URL: http://bugzilla.mozilla.org/attachment.cgi?bugid=259008&action=enter and be more specific about where on the page the problem occurs.
Attached image A screenshot with an overflow:auto div (deleted) —
Of interest is the last paragraph of text in the teal box and how there is no space below it.
Relevant code: #content { position: absolute; left: 240px; top: 110px; bottom: 50px; width: 630px; background-color: #C9E0D4; color: #000000; padding: 1ex 1ex 1ex 1ex; text-align: justify; font-size: 80%; overflow: auto; }
*** This bug has been marked as a duplicate of 47710 ***
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: