摘要: android webkit不能支持postion:fixed,导致无法设计网页上的菜单在页面上下滚动时固定在一个位置。解决方法如下:在Html中加入以下meta属性(适用于android 2.2)<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />示例页面如下:<!DOCTYPE html><html xmlns=&quo 阅读全文
posted @ 2011-10-17 14:50 lingyun1120 阅读(2071) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示