2010-11-22 5 views

答えて

4
function findHeights() { 
      var tbl = document.getElementById('your table').rows; 
      alert(tbl[0].offsetHeight); // row 1 
} 
+0

「境界線間隔」も知っておく必要があります。 –

1
​​
+0

段落の高さを決定するのにoffsetheightも適用されるかどうか? – user495688