![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm trying to create a 2 column layout with a footer on the bottom, where the (fixed-width) sidebar follows the content in the code, while showing on the left hand side of the content. The footer must stay at the bottom regardless of which column is the longest, so absolute positioning is out, I need to use floats with the clear: both; - property on the footer. Doing this with the sidebar *before* the content in the code I know how to do, no worries, but the other way around seems to be much harder. There doesn't seem to be many other pages doing this, so I'm guessing this might be near to 'impossible' to do in a dynamic way? |
#3
| |||
| |||
|
|
Hi, I'm trying to create a 2 column layout with a footer on the bottom, where the (fixed-width) sidebar follows the content in the code, while showing on the left hand side of the content. ... http://stian.freeshell.org/test/test3.html This does not scale well however, especially in Opera 7.51 (bug?), where if you resize the page, the content seems to be fixed width. It scales ok in MSIE and Mozilla, but I'd like it to work in Opera the most. |
|
Anyway, any pointers or tips on how to do this? Any help appreciated, I'm sure you CSS gurus can think of some way to do this ![]() |
#4
| |||
| |||
|
|
I just happened to read this last night: http://alistapart.com/articles/negativemargins/ |

#5
| |||
| |||
|
|
Harlan Messinger <hmessinger.removethis (AT) comcast (DOT) net> wrote in news:kg0od09rdo918ebnchjfj8u5q4ib8ofdf3 (AT) 4ax (DOT) com: I just happened to read this last night: http://alistapart.com/articles/negativemargins/ That's a *great* article, and actually written by the same Ryan Brill who created the example I'm working from. ![]() But the examples used still have the sidebar on the right hand side, so I don't get any farther... |
|
However, I am actually getting somewhere now, so I've managed to get it pretty dynamic with the menu on the left side, it wasn't as hard as I first thought, so here is the situation: http://stian.freeshell.org/test/test4.html I've added some borders in colour to see what I'm doing, and I wrapped the content and sidebar in another DIV to have more control of the margins of the main elements. So, It's setting somewhere - but I could still use some help with ways of doing this the 'right' way... cheers, Stian -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |