fixed position of inner div related to its container
- by Lina
Hi,
if have the following code:
<div id="container" style="position:relative; width:300px; height:300px; overflow:scroll;">
<div id="header">
</div>
<div>
a table of contents
</div>
</div>
how do i make the inner div with the id "header" follows when i scroll down the outer div "container"?
TIA
Lina