i’m new with html5 and css3. I released my first website last month and now i found out that it’s not working well in the new chrome version (22): All the fixed elements are no longer fixed… The navigation bar on the top of the screen for example. it was fine only a week ago and i have no idea why now it’s not.
This is the website: http://www.biofilter.co.il
As far as i can tell, it’s still working fine in Firefox and IE.
Does anyone has an idea what’s going on and what could be the reason?
Your problem is likely caused by Chrome reworking how
position:fixedelements handle stacking ofz-index. The change was made forChrome v22so if you built on v21 and useposition:fixed, you might have a problem.They suggested testing by hitting the Chrome special URL
about:flagsin the browser, and settingFixed position elements create stacking contexts.to true (for v22+) or false (for v21).It is possible to rework your CSS by ensuring
position:fixedelements are stacking correctly. Unfortunately, it is a little complicated so recommend you read these for better explanation: