Previous Message
Next Message

Columns with variable width

Sent by Chris Heilmann on 24 July 2004 21:09


Karine Proot wrote:

>Hello list,
>
>   I'll first have to admit that I'm used to tables for my layouts.
>Trying to quit this habit, I read some days ago all I could find about
>floating elements (which seems to be the usual replacement for tables?).
>   I didn't manage to get it work like I wanted, and there's still one
>thing annoying in the tradeoff I made.
>
>   Here is an example of what I got so far:
>http://edhel.nerim.net/show.htm
>  
>
CSS Discuss has some nice examples you can take a look at, some of them 
fluid as you need to.

http://css-discuss.incutio.com/?page=ThreeColumnLayouts

Personally I don't like floated layouts too much, mostly because IE has 
loads of issues with them and secondly as you may need floating for the 
content part later on and then some clearing can mess up the whole layout.


A more feasible approach is to position the right and left columns 
absolutely and give the content one in the middle margins as wide as the 
others. This way you can still retain a fixed size  for the outer 
columns but allow the centre one to expand and collapse.

HTH

Chris




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: