On 6/30/15 6:35 PM, J.C. Berry wrote:
thanks guys, but I think I have to clarify my issue. The sidebar content is
always the same; it has the checkbox filters. But the right area divs wrap
down to the left below the sidebar when a lot of them show. The footer
clears fine.


On Tuesday, June 30, 2015, Philippe Wittenbergh <e...@l-c-n.com> wrote:


Le 1 juil. 2015 à 05:16, J.C. Berry <jcharlesbe...@gmail.com> a écrit :

I have an issue with a set of checkbox filters in a sidebar that has to
expand it height based on what the user selects.
Here is a simple layout (the site is on dev):

SB   Div1   Div2   Div 3
SB   Div4   Div5   Div 6
SB   Div7
SB
SB
FOOTER   FOOTER  FOOTER


[replies snipped]

If, as you suggest, you have a non-floated main element that wraps below the
float when content is added, there is a simple solution. There is a property
that you can add to the main element, called a "new block-formatting context."
For details, check out this article:


<http://www.sitepoint.com/understanding-block-formatting-contexts-in-css/#prevent-text-wrapping>

--
Cordially,
David
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to