Hmm not sure if this helps too much since I have fixed css files, I do not
know how many columns I will have beforehand and I need to set the width of
each column programmtically by some code generating the html (this is going
to be a portal environment with flexible layouts).
So the approach to set a margin will not work I think.
Does anybody know how to make this work?
Oliver
On 4/19/06, Zazou <[EMAIL PROTECTED]> wrote:
>
> I usually find the best approach with this kind of layout is to use a
> float and a margin. For example:
>
> <div id="left">
> Left content
> </div>
> <div id="right">
> Right content
> </div>
>
> div#left {
> float: left;
> width: 50%;
> }
> div#right {
> margin-left: 50%;
> }
>
> Hope that helps!
> ______________________________________________________________________
> 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/
>
______________________________________________________________________
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/