0

I am getting this strange behavior in chrome.....Fixed bar (top bar) is moving with scroll.

It works fine in FF but moves up in Chrome. I can not figure out why.

Base on a comment in post Fixed element disappears in Chrome

I added overflow:auto to HTML, BODY, then it works in Chrome.

I dont understand why it did not work and then why it works with overflow:auto.

Anybody experienced the same problem?

I was not sure if its OK to post link to websites but I am doing it with no hidden agenda. I need to fix this issue. Please help!

http://www.itraintowin.com/vItem/Basketball

The same page works fine in Firefox

Community
  • 1
  • 1
GJain
  • 5,025
  • 6
  • 48
  • 82
  • You should move the fixed element to the end of the document ... seems like an issue with z-index ... – rafaelcastrocouto Oct 02 '13 at 21:12
  • remove the `position: absolute` from the elements inside the fixed header, and you really should move it to the bottom and remove the z-index too ... all you need is to clean up your css files. No js at all. – rafaelcastrocouto Oct 03 '13 at 11:54

0 Answers0