Forums

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

Home Forums CSS Contain a fixed element inside a relative one Re: Contain a fixed element inside a relative one

#77624
ImpInaBox
Member

Would this work div {height:100%; overflow:auto;} ? Or ‘overflow:scroll;’ if you don’t mind scroll bars being present even if the contained div is small enough not to need them.