> Did you see my earlier post? The 3 col sample I sent through > should work fine. The version you mention below will not work > because you are misunderstanding the fundamentals of the box model.
It takes a while for the posts and my emails to arrive, the mailserver at my host is a bit flaky.. The 3 col sample works, but as soon as I start to adjust to my needs it just falls to pieces, not saying your code is bad, but just saying what already said "I do not understand the fundamentals". > Padding, border and margins are added to the OUTSIDE of a > container in CSS. This means you have three containers set to > 100% and then you are adding 6 pixels of border (2px per box) > to this total. This makes 100% + 6px = more than 100%. Great now we got something to go on, that what I need. I understand what you are saying above, but would that not only matter if you would be working with fixed sizes? I understand that if you have a <div style="padding: 4px; border: 1px; width: 100px;">.....</div> and place it in a 100px wide container it would not fit, because we are really working with 110 pixels, due to the padding and border being added. Which is basically the same concept as when working with tables. When working with tables this all does not matter when working with percentages instead of fixed width, and I would assume it would not matter for CSS either, would it? If it would, then are you saying it calculates it like 100% (800px for example) + 10 pixels for the padding and border? > Floated items are very blunt - like small kids. If they > cannot fit they will tell you. They simply go down, line by > line until there is room for them to fit. That is what has > happened to your layout. Hold on, do you even see 3 cols that have 33% in size? I look at it in IE and they are no larger than the text it contains. > Have a look at the one I sent before. It is very stable and > easy to do. It relies on one simple thing - the middle column > is static - in the flow - and it has margin on the left and > right to make it look like a centre column. I did have a look at it, I also played around with the tutorials, but every time I try to get the design as on development.developer-exchange.com I just completely ruin the layout. > Always good to leave something in the normal flow of the document. > > Another aside, don't get carried away with inline! Especially > when you are also trying to float something. Any floated item > immediately becomes a box - it has too, so if you convert it > back to inline, it will probably do something very odd. ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
