Re: [css-d] Problem with 2 colums adding up to 100% in IE 6

2006-04-20 Thread Oliver Wehrens
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 se

Re: [css-d] Problem with 2 colums adding up to 100% in IE 6

2006-04-19 Thread Zazou
I usually find the best approach with this kind of layout is to use a float and a margin. For example: Left content Right content div#left { float: left; width: 50%; } div#right { margin-left: 50%; } Hope that helps! _

Re: [css-d] Problem with 2 colums adding up to 100% in IE 6

2006-04-19 Thread Rob Freundlich
On Wednesday, April 19, 2006 5:31 AM [GMT+0100=CET],Oliver Wehrens <[EMAIL PROTECTED]> wrote: > I got a problem with IE 6 and a 2 column percentage based (e.g. > 50/50) layout. The code is very simple and works in Safari, Firefox > and Opera. Two columns side by side with a container around it > p

[css-d] Problem with 2 colums adding up to 100% in IE 6

2006-04-19 Thread Oliver Wehrens
Hi, I got a problem with IE 6 and a 2 column percentage based (e.g. 50/50) layout. The code is very simple and works in Safari, Firefox and Opera. Two columns side by side with a container around it providing a background color for the 'white space'. It can show up in IE very nicely but if I resi