[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: <koos.vriezen () xs4all ! nl>
Date: 2001-12-29 23:24:43
[Download RAW message or body]
On Fri, 28 Dec 2001, Dirk Mueller wrote:
> 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.
Thanks, that seems to work.
> Not sure if the other browsers would support that this way though.
Mozilla does, will try IE wednesday at work
(http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/offsetwidth.asp
suggests it does).
Regards,
Koos Vriezen
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic