How do I make an html div tag to be on top of everything? I tried adding z-index: 1000, but it remains the same.
How do I make an html div tag to be on top of everything?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In order for z-index to work, you’ll need to give the element a
position:absoluteor aposition:relativeproperty. Once you do that, your links will function properly, though you may have to tweak your CSS a bit afterwards.