Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Tuxedo Newsgroups: comp.lang.javascript Subject: Re: How to fix a div at top scroll position? Date: Sat, 13 May 2017 19:14:55 +0200 Organization: solani.org Lines: 18 Message-ID: References: <093e7f70-f137-4950-ba44-3c2e88ac0a3f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1494695878 31866 eJwNysENwDAIBLCVoMAB40SE23+ERvLTYVBMOgIeDAp1ama+sMbRleBBVZy8hhM735R5qxy2dG8Sdo3ENU0D/GaFrivaR7g28RqfdXfkD4g5HZc= (13 May 2017 17:17:58 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 13 May 2017 17:17:58 +0000 (UTC) User-Agent: KNode/4.10.5 X-User-ID: eJwFwQERADEIAzBL8KXlkcPg5l/CEkKuyRAVvLxdyG+8MtXcPmmbNFf8qEJZtBkGHoM6G/MAAOkQDQ== X-NNTP-Posting-Host: eJwFwYEBwDAEBMCVCP+RcVD2H6F3MCr7OkHHYh080GcHzuyJON9Qd7I6awYK7XZpPa9aItI3HwqqYvxeP05g9kqV9pCc/OoK1kra1H+VuR6i Cancel-Lock: sha1:eIFQOMBuiwHny2OP5P0VpBneSaE= Xref: csiph.com comp.lang.javascript:33305 Tuxedo wrote: > Ram Tobolski wrote: > >> Hi.This can be done in css, with "position: sticky" >> (https://css-tricks.com/position-sticky-2/) > > Thanks for the update. Sticky CSS is good! However, it's not working on my > Android Chrome for some reason. It appears they introduced support and > then removed it and then reintruduced it and maybe they removed it once > again. Correction: Sticky CSS works on Chrome. It was just the cache. It was not enough to simply reload the page. Instead, Chrome on Android must be restarted after changing the CSS file. Tuxedo