Closed
Bug 280432
Opened 20 years ago
Closed 20 years ago
right border of the div is missing in the display
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: AndreasWuest, Assigned: roc)
Details
(Whiteboard: INVALID)
Attachments
(1 file)
|
368 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 right border of the div is missing in the display. renders fine with opera and ie. example code follows. Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
the file shows the rendering problem
Comment 2•20 years ago
|
||
that's because a) the right border is scrolled off the screen due to width=100% and the margins, so it tends to blend in with the right edge of the browser window. b) you made the div's background (almost) the same color as the border if I just fix b), the border is visible (after scrolling) with linux trunk 2005012805 and firefox 1.0
Whiteboard: INVALID
| Reporter | ||
Comment 3•20 years ago
|
||
maybe my bug description was not that good. the border is not the problem, the problem is that the margin-right: 10px in the divs style is ignored for some reason. the 10 pixel margin left is ok. but not the right margin. i expected the same border that i have on the left side on the right side, as well. but on the right side i have no margin at all.
removing that 100% width property might also help, its bogus when used with margin:10px anyway.
| Assignee | ||
Comment 5•20 years ago
|
||
'width:100%" sets the *content* width to the width of the containing block --- that is, the border and margins are then *added* to the content width. Which we do correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
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
•