I am trying to create a 3-columns fluid layout, as described by attached picture, but I cannot reach the desired results.

Do you have some hints that can help me?
|
I am trying to create a 3-columns fluid layout, as described by attached picture, but I cannot reach the desired results.
Do you have some hints that can help me? |
|||
|
|
|
The 2 fixed columns with 1 fill column has been referred to as "The Holy Grail" of CSS layouts. Check out: http://www.alistapart.com/articles/holygrail/ The example on that page is geared for fixed gutters and variable center column, but the concept is the same. |
|||||||||||||||
|
|
The following is exactly what you need, and I think is a bit simpler than the alistapart.com construct. It doesn't use any positioning properties, so that leaves you free to do whatever you want. You'll have to throw in your own IE fixes, which would be the same as that one. I didn't have enough time available to get into that kind of fine tuning. This does work in current versions of IE, FF, Chrome, Safari and Opera, however.
|
|||||
|
|
The 960 Grid System is great for this kind of stuff. Just copy and paste the HTML code from the generator (here) into your CSS file. Then all you have to do is call classes on your divs.
|
|||
|
|
|
Try giving your fluid div a |
|||
|
|