The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with 'position: fixed ' elements Reply To: Help with 'position: fixed ' elements

Chris Coyier

I’m with @Atelierbram on this one. If the index is under the article then you will never see it. Is your goal to click a button to display it? If that’s the case then just set the height of the index div to 0px and when they click on the button set the height to 100px (or whatever you want).

Do you have a mockup or something you can show?