...

View Full Version : Border problem



BubikolRamios
11-23-2011, 10:39 AM
Can't get gray border to surround my icons. What is the prob. here:http://agrozoo.net/dump/test.html

Excavator
11-23-2011, 10:47 AM
Hello BubikolRamios,
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.

BubikolRamios
11-23-2011, 10:58 AM
Thanks.

Already forgot about that thing clearing floats (-:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum