jezthompson12_nt — 2011-03-15T06:32:08-04:00 — #1
So i'm trying to get my head round whether this can be done or not and be flexible in browsers ideally..
Basically everything is fixed apart from the content in the middle, say its blog posts, which you scroll through everything else remaining static.
The central content also has a black line left and right.
Now the space between the top and bottom of the left and right lines needs to be the same say 30px regardless of browser size, within reason obviously.
I'm toying with possible fixed top/bottom and left/right then having the lines as images but not sure if that will work.
Oh its left aligned too, not centred in the browser.
Many thanks if you can
system — 2011-03-15T08:13:08-04:00 — #2
This is a 3cols fixed footer layout, having the header and sides fixed also. You should start from there.
paulob — 2011-03-15T12:51:18-04:00 — #3
I think this old example has all the elements that you will need to construct what you want.
CSS - Fixed header, footer and sidebars in all but ie6
Be very wary of fixed layouts as they seldom work well. Fixed headers and footers are ok but sidebars seldom work and you have to create extra scrollbars to keep content visible.
Or if you just want a scrollable cen ter without using position:fixed then something like this.
jezthompson12_nt — 2011-03-15T12:53:41-04:00 — #4
Its not i that want it, blumin designer wants it like this, rubbish if you ask me!
paulob — 2011-03-15T13:18:49-04:00 — #5
It's always the way
Shout if you get stuck.
The only sticking point I see is: "what are the exact dynamics of the content outside the middle section"?
It's hard to see how that will work unless it's in a 3 col layout like my example.