dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
337

trparky
Premium Member
join:2000-05-24
Cleveland, OH

trparky

Premium Member

Floating divs?

I want a part of the web site to be able to move up and down the screen as the person scrolls down. How would I do this?

Vamp
5c077
Premium Member
join:2003-01-28
MD

1 recommendation

Vamp

Premium Member

It's not float you are looking for..

Just add position: fixed; to the div you want to float in the same spot and not scroll with the page.

usa2k
Blessed
MVM
join:2003-01-26
Westland, MI

3 edits

usa2k

MVM

Re: Floating divs?

Not related really:
But its also cool sometimes to let text scroll and fix the background.
»www.html.net/tutorials/c ··· _ex9.asp
»www.html.net/tutorials/c ··· son3.asp

EDIT: (On topic)
»www.w3.org/Style/Example ··· 07/menus