PDA

View Full Version : Divs + rep



myke
04-11-2006, 03:00 PM
Is there a way to make the div scroll with you when you scroll?

For e.g. if you had a black box up the top like a nav, can you make that scroll with you so you can always see it? + Rep to the person who helps :D [Like a fixed background attachment]

Colin-Roberts
04-11-2006, 03:21 PM
on dymanic drive theres a script to do it.

Heinous
05-11-2006, 08:48 AM
<div style="position:fixed; top:0px;">
</div>

change top, or replace it with left, right or bottom, or combine them.

Want to hide these adverts? Register an account for free!