Topic: CSS Box Model Layout |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: :morF |
posted 10-22-2003 03:37
Hey guys...now, being relativly new at CSS, I have a layout style I want ot achieve, and I'l lbe buggered if I can figure out how to do it. It's based on the two column CSS Box Model, with a full width header div at the top, two divs just below that, one for the menu and the other for the main content, and another full width div below that for the page footer (copyright info, etc). Here's an image that shows what I'm looking for: |
Maniac (V) Inmate From: under the bed |
posted 10-22-2003 04:51
quote:
|
Paranoid (IV) Mad Scientist From: KC, KS |
posted 10-22-2003 05:27
http://www.bluerobot.com |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-22-2003 11:30
Skaarjj: I'm afraid this touches on the subject that has come up here before - asking how to make what is essentially a table-based design in CSS is rather missing the point. |
Maniac (V) Inmate From: Seoul, Korea |
posted 10-22-2003 12:24
And just to clarify something here, the "box model" quote:
|
Maniac (V) Mad Scientist From: the west wing |
posted 10-23-2003 01:00
I resent that you think something as simple as this layout is something that is a table-based layout that CSS should not be used for. |
Maniac (V) Inmate From: Seoul, Korea |
posted 10-23-2003 13:00
I think twItch^ has a very good point here. To be honest, I was a tad perplexed when I first saw the "table design" comment--I could not quite figure out what it was about the design that made it inherently table-based. While it is true that, in the past, designs like this were achieved by abusing tables, this doesn't necessarily mean that it is inherently a table-based design. I don't think there is such a thing as an inherently table-based design, just as I don't think there is such a thing as an inherently css-based design. Granted, new-comers to CSS may produce very similar looking designs (you know what I'm talking about--the "boxy" style), but it doesn't mean that those designs are inherently CSS-based. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-28-2003 12:57
Well perhaps I was over-stating the case but my point was that getting those borders to line up at the bottom of the 2 columns like that can be done (using something like overflow:auto and aiming for Opera version greater than 6) but it would be a pain (I would be very happy to see someone reproduce the design in CSS). I suspect I've not explained things very well. |
Maniac (V) Mad Scientist From: :morF |
posted 10-28-2003 14:37
well, this is what I have so far (with help from Lacuna) |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-28-2003 14:44
Skaarjj: Good first attempt. Things line up (horizontally) bettr in IE6 than in Op7 but it is getting there. I can't quite see why things aren't lining up - I would suggest removing the positon stle from the left column as I'm not sure what it is doing. See how that works. |
Maniac (V) Inmate From: there...no..there..... |
posted 10-28-2003 14:52
quote:
code: .left {
|