为每个匹配的元素设置CSS高度(hidth)属性的值。如果没有明确指定单位(如:em或%),使用px。
如果没有明确指定单位(如:em或%),使用px。
设定CSS中 'height' 的值
把所有段落的高设为 20:
$("p").height(20);