问题
I have a div with the fixed:postion property, when I scroll the page, the bar doesń'n pass over some elementes, Images and others. How can I do it with no modify the other elements? This is the page: NotiNews, check the upper bar, contains a clock and a google translate script
回答1:
Apply a z-index inside the "encabezado" class on your stylesheet, like so:
.encabezado {
z-index: 99;
}
Hope this helps you out!
回答2:
Give your div a z-index property. Start with 100.
eg.
z-index: 100;
回答3:
Set its "z-index" property to a high value, that would step over any other element.
来源:https://stackoverflow.com/questions/21917061/position-fixed-dont-pass-over-some-elements