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
--- 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
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
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
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
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
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
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.
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...|
| | |
|--|
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
10 matches
Mail list logo