〈1〉返回 css 属性
css(propertyname);
〈2〉设置 css 属性
css(propertyname,value);
〈2.1〉设置多个 css 属性
css({propertyname:value,propertyname:value,...});
jquery 尺寸 方法jquery 提供多个处理尺寸的重要方法:
width() 设置或返回元素的宽度(不包括内边距、边框或外边距)。 height() 设置或返回元素的高度(不包括内边距、边框或外边距)。 设置:$(#div1).width(500).height(500); more : $(window/document).width/height;
innerwidth() 返回元素的宽度(包括内边距)。 innerheight() 返回元素的高度(包括内边距)。 outerwidth() 返回元素的宽度(包括内边距、边框和外边距)。 outerheight() 返回元素的高度(包括内边距、边框和外边距)。
