Closed
Bug 291744
Opened 20 years ago
Closed 20 years ago
margin-right:0 is ignored on LIs in a UL Element with overflow:auto and padding:0, also the horzontal scrollbar is displayed
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mozbugs, Assigned: roc)
Details
Attachments
(1 file)
|
969 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2) I want use borders in a fixed-height UL with scrollbars. (Fixed-height is not needed to demonstrate the bug.) I want to decorate the LIs with borders. When I remove the UL padding and LI margins, the right-hand-side of the UL still has space past the LI block and the horizontal scroll bar needlessly appears on the UL element. Reproducible: Always Steps to Reproduce: 1. See attachment, the issue is readily visible. Actual Results: Undesired space exists to the right of the LI borders. Undesired horizontal scroll-bar appears on the UL. Expected Results: The LI borders fit against the UL borders. No horizontal scroll-bar appears on the UL.
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
If you want list items to behave like block level elements, you need to put 'display:block' on them. This might be a bug though.
Comment 3•20 years ago
|
||
This WFM in Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050416 Firefox/1.0+ (but on on the 1.0.x release). I can't find the duplicate (where it was probably fixed), so marking WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•