tags:

views:

81

answers:

2

HI i want to give my div's some border but when i do a box is created with all the borders but the contents of teh div are not surrounded!! Any suggestions?

+1  A: 

You must have some floating content inside.

<div id="divWithBorderIssue">
   blah
   <div style="clear:both;"></div>
</div>

You could also use a clearfix

edit: of course if you provided the code it would be easier to help you

marcgg
+2  A: 

try

 overflow: auto
Pekka