Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JS: lineHeight

Status
Not open for further replies.

krok

Programmer
Dec 9, 2001
1
PL
Hi,
how i can find height of row:
in HTML is
<TABLE id=&quot;myTable&quot;>
<COLGROUP width=&quot;50&quot;>
<COLGROUP width=&quot;0*&quot;>
<TR><TD>zzzzzz yyyyyyyy tttt - this is longer than 50 and this cell will be wrapped</TD><TD>blabla</TD></TR></TABLE>

and I'd like to know the height of wrapped cell,
I test (i means index of row or TR in table)document.all.myTable.rows.style.lineHeight or
document.all.myTable.all.tags(&quot;TR&quot;).style.lineHeight, but these return &quot;&quot;

What's the way to do it?
Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top