Closed Bug 283583 Opened 20 years ago Closed 20 years ago

svenskastadsnat.se - Centered div border not showing correctly

Categories

(Tech Evangelism Graveyard :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: tobias.persson, Unassigned)

References

()

Details

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
Summary: Centered div border not showing correctly → svenskastadsnat.se - Centered div border not showing correctly
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.