The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Having probelem with the Sticky footer/header
I am having difficulty with the css sticky header and footer. Please look at the link and let me know what am I missing for it to not work.
Thanks in advance.
I don’t think you mean ‘sticky’…I think you mean ‘fixed’.
I assume you want both header and footer to show all the time and for the content between to scroll up and down?
Or am I wrong?
Yes, you are right. I want the header and the footer to be fixed.
Place them both outside the wrapper (in case you need to z-index it) and simply say top:0;width:100%.
I think he means the .container div
You have to live under a rock to not know what a wrapper means