James Hague wrote: > > how can one enclose the regContainer div > inside the mainFrame div irrespective of the content of the regContainer. > The clearer div is not doing the trick! a large content of 'regContainer' > pushes its lower edge below the main frame! > Please help? James > >
Does this yield the result you seek? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>test</title> <style type="text/css"> .mainFrame{ height:100%; background: #fff; border: 5px solid #CCCCCC; } .regContainer { /*position:relative; top:125px; */ margin-top: 125px; color: #black; width: 720px; float:left; border:1px solid #000; } .clearer {clear: both;/* font-size: 6px;*/} p { margin: 0; } </style> </head> <body> <div class="mainFrame"><!-- align="center"--> <div class="regContainer"><p>long paragraph goes here</p></div> <div class="clearer"> </div> </div> </body> </html> Regards, ~dL -- http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/