jQuery 设置/获取样式 参考 http://www.w3school.com.cn/jquery/jquery_css.asp $("#a").css("height"); $("#a").css("height", "30px");