Closed
Bug 285028
Opened 20 years ago
Closed 20 years ago
Border-top does not work properly
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dlecke, Unassigned)
Details
Attachments
(1 file)
|
2.92 KB,
application/zip
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
The following code does not render properly:
#footer {
margin: 0px 2px 0px 2px;
border-top: 1px solid maroon;
border-bottom: 1px solid maroon;
background: ghostwhite none no-repeat fixed 0px 0px ;
clear: both;
}
For instance the top border of 1px does not show up, but if I set it to 2px it
shows up as a 1px border. IE seems to render this properly, am I missing something.
Reproducible: Always
Comment 1•20 years ago
|
||
Please make a small HTML file that reproduces the problem and then upload it to this bug report using this link: https://bugzilla.mozilla.org/attachment.cgi?bugid=285028&action=enter
Assignee: dbaron → nobody
Component: Style System (CSS) → Layout
QA Contact: ian → layout
The problem I believe is a mistake on my part. Even though it works in IE and not Firefox. The text "Test is currently under construction." you will notice is not in <p><p/>. IE displays the test no questions asked. But firefox gets lost because the html code is not valid. Sorry I have not responded sooner, I have been out of town. I apprieciate your promptness in helping fix the problem.
Comment 3•20 years ago
|
||
The markup/styling looks ok to me at first glance. I can see that the top border on the footer is missing in Firefox 1.0.1 on Linux, it works fine in a current trunk build though. Looks like a rounding error that got fixed perhaps. Does the border appear if you try 2px instead? Could you try a current trunk build (using 1px) and see if that fixes it? http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/ http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Whiteboard: [needinfo_w13]
Updated•20 years ago
|
Attachment #179435 -
Attachment mime type: application/octet-stream → application/zip
(In reply to comment #0) > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 > > The following code does not render properly: > > #footer { > margin: 0px 2px 0px 2px; > border-top: 1px solid maroon; > border-bottom: 1px solid maroon; > background: ghostwhite none no-repeat fixed 0px 0px ; > clear: both; > } > > For instance the top border of 1px does not show up, but if I set it to 2px it > shows up as a 1px border. IE seems to render this properly, am I missing something. > > Reproducible: Always (In reply to comment #3) > The markup/styling looks ok to me at first glance. > I can see that the top border on the footer is missing in Firefox 1.0.1 on > Linux, it works fine in a current trunk build though. > Looks like a rounding error that got fixed perhaps. > > Does the border appear if you try 2px instead? > Could you try a current trunk build (using 1px) and see if that fixes it? > http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/ > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ > > (In reply to comment #3) > The markup/styling looks ok to me at first glance. > I can see that the top border on the footer is missing in Firefox 1.0.1 on > Linux, it works fine in a current trunk build though. > Looks like a rounding error that got fixed perhaps. > > Does the border appear if you try 2px instead? > Could you try a current trunk build (using 1px) and see if that fixes it? > http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/ > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ > >
I tried the current truck build and the problem appears to be fixed.
Comment 6•20 years ago
|
||
(In reply to comment #5) > I tried the current truck build and the problem appears to be fixed. Ok, thanks for testing. -> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Whiteboard: [needinfo_w13]
You need to log in
before you can comment on or make changes to this bug.
Description
•