如何解决在Android浏览器层固定(position:fixed)不生效的问题

On my Android N1 with CyanogenMod i had this trouble too and the fix:

<metaname="viewport"content="width=100%; initial-scale=1; maximum-scale=1; minimum-scale=1; user-scalable=no;"/>

Specifically the user-scalable=no; part, you can also put 0 instead of no.

Interestingly this breaks androids rendering of buttons, but all you have to do is set a background color to buttons.

你可能感兴趣的:(position)