runeveryday — 2012-11-10T23:28:28-05:00 — #1
the navigation of all the links are can't click which at the center of the page, the position:absolute and z-index caused it. if i don't delete the z-index. is there a way to correct it?
if have to remove the z-index in the #menu and that will solve the issue but i want the #top lay upon the menu lay,how should i do? thank you
markbrown4 — 2012-11-11T01:18:48-05:00 — #2
It's best to avoid absolute positioning unless there's a specific need for it.
If you remove position: absolute; and add margin-top: 44px; to the menu it will appear correctly.
Or if you want to use absolute positioning, you can just add position: relative; and a higher z-index to #top so that it is above menu.
localhost8080 — 2012-11-11T09:56:29-05:00 — #3
position absolute should only be used when you really need it, like for a dropdown menu.
stomme_poes — 2012-11-12T14:50:24-05:00 — #4
except when you're andy clarke