Thanks, I'll give this a try tomorrow at work.

Anthony Aziz
http://blog.aaziz.org


On Tue, Aug 19, 2008 at 4:52 PM, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:

> Anthony Aziz wrote:
>
>> I'm a bit stuck here. I have a page layout where the side div is
>> floated to the right, and the main div is not floated but has a
>> certain margin-right. In this div there I want to have some elements
>> floated right as well, which works fine, but any elements after it
>> that I try to clear: right end up clearing the side div as well.
>>
>
> Apply "block formatting"...
>
> <http://www.w3.org/TR/CSS21/visuren.html#block-formatting>
>
> ...to the main div, and it will contain all "clears" as well as all
> floats. That will prevent interaction between elements/styles inside and
> outside main div.
>
> Which "block formatting" trigger (style) that suits your design best can
> only be determined by you - through trial and error maybe, or by us when
> we see your design.
>
> regards
>        Georg
> --
> http://www.gunlaug.no
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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