[css-d] Div that fixed vertically but floated right

2010-01-18 Thread Dave M G
CSS-d, I am trying to create a DIV that floats to the right of some content, but will stay fixed vertically even when the page is scrolled up or down. I found an example of what I mean here: http://www.mininova.org/ The advertisements on the right move up and down as you scroll, keeping them

Re: [css-d] Div that fixed vertically but floated right

2010-01-18 Thread Bobby Jack
--- On Mon, 1/18/10, Dave M G mar...@autotelic.com wrote: I am trying to create a DIV that floats to the right of some content, but will stay fixed vertically even when the page is scrolled up or down. Just a quick idea for one possible approach: if the 'floated' div has a known width, you

Re: [css-d] Div that fixed vertically but floated right

2010-01-18 Thread Dave M G
Bobby, Thanks for replying. ...you should be able to include it in a relatively positioned wrapper... position it absolutely, and create enough right margin on the wrapper to accommodate it. If I understand your suggestion, then what this results in is the DIV inside the wrapper does position

Re: [css-d] Div that fixed vertically but floated right

2010-01-18 Thread David McGlone
On Monday 18 January 2010 06:26:00 Dave M G wrote: Bobby, Thanks for replying. ...you should be able to include it in a relatively positioned wrapper... position it absolutely, and create enough right margin on the wrapper to accommodate it. If I understand your suggestion, then

Re: [css-d] Div that fixed vertically but floated right

2010-01-18 Thread G. Sørtun
Dave M G wrote: I am trying to create a DIV that floats to the right of some content, but will stay fixed vertically even when the page is scrolled up or down. Is it the behavior of the right float on this page you want... http://www.gunlaug.no/main-en.html ...? If so, that's a

Re: [css-d] Div that fixed vertically but floated right

2010-01-18 Thread Troy Harshman
One can't have position:fixed and position:absolute on the same DIV, so unfortunately this does not get the effect I am after. Have you tried using position properties with the div that is fixed? I believe that is what I have done in the past. A quick search showed that the fixed position

Re: [css-d] Div that fixed vertically but floated right [SOLVED]

2010-01-18 Thread Dave M G
Troy, David, Bobby, Georg, Thank you all for responding. I started out trying to emulate Georg's solution, and I think I ended up doing things a little different. You can see the result here: http://autotelic.com/avatar_-_the_metacontextual_edition Please let me know if it's doing something

[css-d] Keeping the footer at the bottom

2010-01-18 Thread Wade Smart
Im trying to do something that I know is done every day but for the life of me, I cant figure it out. |___Top Div| | Middle Div__| |---|--| |..left.|..right...| | | | |--| |...footer.| Simple layout. Top div has the header, etc.

Re: [css-d] Keeping the footer at the bottom

2010-01-18 Thread Sotiris Katsaniotis
18/1/2010 11:38 ??, O/H Wade Smart ??: Im trying to do something that I know is done every day but for the life of me, I cant figure it out. |___Top Div| | Middle Div__| |---|--| |..left.|..right...| | | | |--|

Re: [css-d] Keeping the footer at the bottom

2010-01-18 Thread David Laakso
Wade Smart wrote: Im trying to do something that I know is done every day but for the life of me, I cant figure it out. |___Top Div| | Middle Div__| |---|--| |..left.|..right...| | | | |--| |...footer.| Wade