a little more valid / semantic ....

div.clearer {clear: both; line-height: 0; height: 0;}

<div class="clearer">&nbsp;</div>

On 17/07/2008, at 4:04 AM, kevin mcmonagle wrote:

Thank you david,
a tip from that article has me sorted.

I put a div at the bottom of the rapper content like this:

  <div class="clear"></div>

.    clear{clear:both}

nice trick just kind of forces,


but I still dont understand why the outer wrapper would'nt scale automatically with three columns in an inner wrapper with no heights set anywhere /unless / the outerwrapper was floated left or right itself......

-best
kevin

David Hucklesby wrote:
On Tue, 15 Jul 2008 15:08:47 +0100, kevin mcmonagle wrote:

hi,
I have a wrapper in that wont scale to its contained content/divs but there are no heights set in the divs that i can see. Is there something else that can cause this? -


Yes. If the content has A.P. blocks or floats that are not "contained"
then the containing DIV might not expand.

If the problem is due to floats, there are several methods available
for "containing" them here:

<http://www.digital-web.com/articles/web_design_101_floats/>

Cordially,
David





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to