Reputation: 119
I have a html5 video placed in a div at the top of my page. I've also put a fixed position header above it, the only problem is when the page is scrolled the header starts to stick in places. It snaps back to its proper position. Ive tried the page without the video and it has no problem.
Upvotes: 0
Views: 457
Reputation: 119
I managed to fix this problem by removing the negative z-index on the div containing the video. Putting positive z-index on the content and nav made them slide over the top and not stick. Not sure how this fixed it but it works!
Upvotes: 1
Reputation: 11
Sounds like something isn't updating fast enough. That's why I don't trust web code :).
Upvotes: 1