Closed
Bug 3418
Opened 26 years ago
Closed 26 years ago
{inc} CSS: Margin-bottom not working properly with a percentage value
Categories
(Core :: Layout, defect, P4)
Core
Layout
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: christinehoff4, Assigned: buster)
References
()
Details
Using 3/4 build on Win 95, Win NT, Win 98, Linux and Mac 8.5 (2/26 build)/
Open URL.
Expected result: The paragraph should have a bottom margin of 50%.
Actual result: The paragraph does not have a bottom margin of 50% - the bottom
margin is much greate than tha.
Updated•26 years ago
|
Assignee: peterl → troy
Component: Style System → Layout
Comment 2•26 years ago
|
||
The margin shows up if you resize the window
Severity: normal → minor
Status: NEW → ASSIGNED
Priority: P2 → P4
Summary: CSS: Margin-bottom not working properly with a percentage value → {inc} CSS: Margin-bottom not working properly with a percentage value
Target Milestone: M6
Fixed. Note: % margins are based on the ***width*** of the containing
block....The test works dandy now.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 4•26 years ago
|
||
Revised test case for verification:
<HTML>
<HEAD>
<TITLE>margin-bottom: pct</TITLE>
<STYLE type="text/css">
.three { margin-bottom: 50%; margin-top: 0; border: solid red }
.one { width: 200px; border-style: solid }
</STYLE>
</HEAD>
<BODY class="one">
<P class="three">Margin-top/right/bottom/left percentages refer to the 'width'
of containing block. Containing block here is the BODY.</P>
</BODY>
</HTML>
Margin-bottom percentage is verified fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•