View Full Version : Border problem
11-23-2011, 09:39 AM
Can't get gray border to surround my icons. What is the prob. here:http://agrozoo.net/dump/test.html
11-23-2011, 09:47 AM
You need to clear your floats.
Add overflow: auto; to .rating_mc_container.
See this explanation of how overflow: auto; clears your floats (http://www.quirksmode.org/css/clearing.html).
That has the added benefit of show you how you've broken the box model, that's why the scroll bar shows up.
See the box model here (http://www.w3.org/TR/CSS2/box.html). The box model says that whatever you put inside an element cannot be larger than that element. margin/padding/border all count when figuring width/height.
11-23-2011, 09:58 AM
Already forgot about that thing clearing floats (-:
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.