|
3 column layout with a scrolling center div
|
|
05-12-2008, 12:55 PM
Post: #1
|
|||
|
|||
|
3 column layout with a scrolling center div
Morning Monkeys
I've been looking into something that I have been aske to implement on my companies website which is a three column layout (which i have done) but they want it so that the center div only scrolls while the header, footer and left and right divs stay static in the same way that this site does it (http://www.theconsult.com/latestnews.html). I've been looking into how I would do this and have also tried a couple ideas which I thought would work but so far I'm not even close, does anyone know how this is done? TIA folks |
|||
|
05-12-2008, 05:59 PM
Post: #2
|
|||
|
|||
|
<div style="width:500px;height:600px;overflow:auto">
Text </div> also try overflow: scroll; Bomberman aka Colin Smith http://www.smithcolin.co.uk |
|||
|
05-12-2008, 06:01 PM
Post: #3
|
|||
|
|||
|
ah, i see the link. dunno how to do that particular one. I suppose you could make the top right and left divs absolute but not sure.
If you find a solution be sure to let us know! Bomberman aka Colin Smith http://www.smithcolin.co.uk |
|||
|
06-12-2008, 12:26 PM
Post: #4
|
|||
|
|||
|
lol I was about to say that I'd tried using hte overflow properties with no success,
dont worry if i do find out I will be sure to let you all know, I'm half tempted to try emailing the developers of the site. |
|||
|
08-12-2008, 11:48 AM
Post: #5
|
|||
|
|||
|
okay I've sussed it (with the help of firebug) below is an example of what to do:
Code: div#col01 is defined like this:
My portfolio website My blog |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help






