On 3/16/06, Ian Young <[EMAIL PROTECTED]> wrote:
> In following test site the menu does not appear inside its wrapper (the
> black border is purely for debugging)
>
> http://www.iysearch.net/new/test2.html

Floated elements are taken out of the document flow, and thus are not
"contained" in the wrapper.

There are many ways to contain floats, the ugliest of them being
adding a <div style="clear: both;"></div> in there.

But better ways are available:
http://www.positioniseverything.net/easyclearing.html
http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/

Prabhath
--
http://nidahas.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/

Reply via email to