Unfortunately, that makes everything clear the
sidebar. It was the first thing I tried, should have
mentioned it.

--- Els <[EMAIL PROTECTED]> wrote:

> Tom Edwards wrote:
> > I'd appreciate some help with this problem. Here
> is
> > what I'm trying to achieve:
> >
> > ---------------------------------------------
> >> Content#1   ----------- ------------------|
> >>             | Image   | | Sidebar float  ||
> >>             | float   | |                ||
> >>             |         | |                ||
> >>             |         | |                ||
> >>             |         | |                ||
> >>             ----------- |                ||
> >> <clear>                 |                ||
> >> Content#2               |                ||
> >> ...                     ------------------|
> > ---------------------------------------------
> >
> > Both the sidebar and image are float:right. The
> > problem comes when I try to clear Content#2 (a
> blog
> > post if that helps visualise) past the image, but
> not
> > the sidebar (i.e. at <clear>). Setting clear:right
> > clears both of the floated elements, and
> clear:left
> > naturally has no effect.
> >
> > My content and image are both contained within the
> > same div element. Is it possible to specify a
> clearing
> > element to ONLY clear floats with a specified
> parent?
> 
> No, but if you would float this parent too, the
> floats inside of 
> it wouldn't clear the floats outside of it.
> 
> -- 
> Els
> http://locusmeus.com/
> http://locusoptimus.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