Forum Moderators: not2easy
I haven't taken the CSS plunge yet--I am planning to!
I've heard people in the forums "throw" around the phrase 3 column layouts when discussing CSS.
It's got my curiosity stirred up! What are you folks talking about?
--Gene
P.S. I assume you understand that I know generically what a 3 column layout is. I'd just like to know how it relates to CSS design. Keep in mind, I have only a cursory understanding of CSS.
The idea is to generate a totally fluid 3-column layout, one that resizes to different window sizes, using only CSS and no "layout tables".
like this
div#left {
postion: absolute;
top: 0px;
left: 0px;
width: 200px;
}
div#right {
position: absolute;
top: 0px;
right: 0px;
width: 200px;
}
div#content {
padding-left: 220px;
padding-right: 220px;
}
Try a site search for 3 column layout, there are some great examples here...
Nick
I might be getting excited about CSS because my site's homepage is built on a 3 column layout! The left and right columns are fixed, and the middle is liquid. Most of the sub pages are 2 column layouts (left menu fixed, right body liquid).
Am I to understand that the 3 column layout is among the most "user friendly" ways to go for someone who is starting out in CSS design?
--Gene
P.S. If you have a minute, take a look at my Table liquid 3 column homepage... home made the "old fashioned" way!
P.P.S. Keyplyr has a beautiful liquid designed home page! My hats off to him!
<added>...
P.P.P.S. Sorry, I just now read the forum link that Tedster provided. Do I have it all wrong??? Is it ACTUALLY DIFFICULT to do a liquid middle column with fixed left and right columns using CSS?
</added>
.left {
position: absolute;
left: 2%;
width: 20%;
}
.content {
position: relative;
left: 22%;
width: 50%
}
.right {
position: absolute;
left: 76%;
top: 10px;
width: auto;
}
It is very touchy, for instance, it needs the RELATIVE positioning for the center content DIV, or NN screws up the width% allocation, but it works and will render 3 self adjusting columns. It works in NN4 because there is no RIGHT or FLOAT positioning.
I am passionate about making my sites work cross-browser if possible, and this one looked like a real challenge.
You can steal anything and he has lots of examples with code.
In your work of this kind have you come across any similar way of getting "list-style-type: none" to work with NS4? Anyone who has tried it knows it puts an ugly question mark where the blank marker is supposed to be. There are lots of places I'd like to use "list-style-type: none" but can't because of NS4.