W
Ward Germonpré
Hi,
I know you can position an element using a style property like so :
element.style.left=200px;
But how can you READ an elements style.left property ?
I want to position:fixed the columnheaders in a scrollable table an intend
to use this strategy:
First I dynamically construct the table, and when it's attached to the
document, I want to read the coordinates of the columnheaders and then
'fix' them using a different classname that I set up with 'position fixed'
in my stylesheet.
Can this work ?
thx
Ward
I know you can position an element using a style property like so :
element.style.left=200px;
But how can you READ an elements style.left property ?
I want to position:fixed the columnheaders in a scrollable table an intend
to use this strategy:
First I dynamically construct the table, and when it's attached to the
document, I want to read the coordinates of the columnheaders and then
'fix' them using a different classname that I set up with 'position fixed'
in my stylesheet.
Can this work ?
thx
Ward