1
I have an application where I have a regular menu at the top of the page, and just below it a form, where this form has to be fixed, in a way that when I scroll down, this form goes at the top of the page, and the rest of the page goes running behind it.
My problem is in leaving this form the way I need it. I place the property position: fixed
, it is fixed, but either over the menu, or totally desposionado on the screen, and also the fact that I will use this same application on mobile, I’m kind of lost in how to do.
Will the menu be set at the top too? The form should only go under the menu?
– akira-ito
@theOriginal. My initial idea is that the menu is not fixed and when I upload the page, this form stay fixed at the top, but if so, I leave the fixed menu tbm without problems.
– José Allison
to put it on top, use in CSS:
z-index: 1000;
– Ivan Ferrer
If the answer below is not the solution, please check: How to create a Minimum, Complete and Verifiable example, this guide helps you get the most accurate answer possible to solve the problem.
– brasofilo