Topic: Making div layers scroll with another scrolling div (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 05-11-2006 16:29
I have a large div layer for all my content which scrolls, and I've used other div layers to position my headings, and have now realised that the headings don't move with the text when I scroll, since obviously those layers are stacked on top of the larger div and not contained within it. |
Lunatic (VI) Inmate From: under the bed |
posted 05-11-2006 16:54
quote:
|
Obsessive-Compulsive (I) Inmate From: Australia |
posted 05-11-2006 17:12
Well that's the problem... I obviosly didn't put enough thought into it and assumed that if I put the div layers with the headings over the layer with the content it would be INSIDE it... *blushes* I forget really obvious things sometimes... |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 05-11-2006 17:56 |
Lunatic (VI) Inmate From: under the bed |
posted 05-11-2006 23:44 |
Obsessive-Compulsive (I) Inmate From: Australia |
posted 05-12-2006 02:46
Ah! I ran a test using some very simple div layers and they worked out exactly as I hoped they would, so I started messing with mine to work out why it wouldn't do it in that page and it turned out I had a div layer hidden somewhere that I didn't know about that was making everything go crazy when I changed the position of the close div tag! |