[thelist] Re: css background height

Prabhath Sirisena prabhath at vesess.com
Mon Jun 28 06:30:49 CDT 2004

Issue 1:

Your sidebar is floated inside the mainbody
container, and the content text is nested.

Floated elements do not take up any space
inside a container (i.e. They are not "enclosed"
or "wrapped"), hence the background does not
fall below the content.

You should "clear" the floated element to
achieve the desired affect.

Check out these links:

1. The float theory

2. Clearing floats easily

3. Floating bugs in IE

Issue 2:

min-width: 600px; should work, only IE doesn't
care about it :-(

Hope this was of any help.


More information about the thelist mailing list