User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 The grey colored border of the outermost centered "div wrapper" only shows at the top. It should show on all sides eg "wrapping" around the div. Reproducible: Always Steps to Reproduce: Visit the url given. Actual Results: The bug appears. Expected Results: Show the border correctly The border looks fine in IE almost all version and Opera and Safari.
Reason for the border not appearing in the #Wrapper is that the content inside is float to the left. Therefore the outer div #Wrapper will not have the same height as the content. This can be solved by clearing the floats. Adding <div style="clear:both"></div> before the closing tag of the #Wrapper div solves the issue.
Assignee: firefox → other
Component: General → Other
OS: Windows XP → All
Product: Firefox → Tech Evangelism
QA Contact: general → other
Hardware: PC → All
Conforming summary to TFM item 10 at http://www.mozilla.org/projects/tech-evangelism/site/procedures.html#file-new
Summary: Centered div border not showing correctly → svenskastadsnat.se - Centered div border not showing correctly
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.