[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: JS view of widths of table cells
From: Dirk Mueller <mueller () kde ! org>
Date: 2001-12-28 21:49:25
[Download RAW message or body]
On Fre, 28 Dez 2001, koos.vriezen@xs4all.nl wrote:
> width of the generated cells. Iterating the column head widths and
> generating an extra row with an image of 1x1 pixel and setting it to the
> width of the column head, I can guarantee columns are aligned well.
> I am probably the only one to do such a thing :-)
Ah, interesting. But why don't you use the JS properties that are supposed
to return the actual width? I think offsetwidth is what you're looking for,
we implemented it in that way.
Not sure if the other browsers would support that this way though.
however, by definition style.* returns the specified values, not the actual
ones.
Dirk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic