$(window).height()高度获取误差 Posted on 2017-05-15 | | Visitors: 在前端通过$(window).height()获取窗口高度总会有100px的误差。搜索得知问题: html顶部1<html>应该改成<!DOCTYPE html>