0

I have a two column layout via CSS, and I'm wondering how I can make the list on the sidebar column stay frozen down as the user scrolls down on the page

1 Answer 1

1

Just use CSS property:

 position: fixed; 

The description of it might be "The element is positioned relative to the browser window", I assume this is what you want to achieve.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you! Now I just have to figure out how to make it not overlap with my top nav.
consider adding z-index. add to your nav position: relative; z-index: 10; and to your side column z-index: 1

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.