09-21-2006, 02:59 PM
I have a div class=poem with a long poem in it. To the right of this div i want to have a div that scrolls along when you scroll down to read the whole poem (text to the left of it)
how can I do this?
09-21-2006, 03:44 PM
That would be position: fixed; applied to the side div. However, IE doesn't know this CSS rule. There are a lot of results when you search Google for "position: fixed IE", one of which is this (http://www.howtocreate.co.uk/fixedPosition.html). I hope that'll do it.
09-21-2006, 04:02 PM
but how do I make the div go to the rigght of the poem div and not under?
would floating left of both help?
09-21-2006, 07:08 PM
You need to combine position: fixed; with a top, right, left, and/or bottom value, then the element is taken out of the regular flow like it was positioned absolutely, it just stays fixed in the place where you put it.