R
Robert
Hi,
I am currently trying to do some Javascript sizing and positioning using
Javascript and encounter some for me unexpected behaviour in IE6, yet
works fine in Firefox and Opera.
I have a table with some various elements in it and want it to take into
account the current browser viewport size and resize it relative to that.
The calculations seem to be working well, but when I assign a height to
the table style (element.style.height = "681px") the element will get a
clientHeight of 748 in IE6, while it's 679 is Firefox and Opera (due to
the 1px border).
What can influence the clientHeight in IE6 in this way?
Furthermore, are there any free, open-source, Javascript functions that
you can use to set the dimensions and positions of elements?
Or can you suggest me some good website that explains this whole sizing
and positioning topic in Javascript.
Thanks,
Robert.
I am currently trying to do some Javascript sizing and positioning using
Javascript and encounter some for me unexpected behaviour in IE6, yet
works fine in Firefox and Opera.
I have a table with some various elements in it and want it to take into
account the current browser viewport size and resize it relative to that.
The calculations seem to be working well, but when I assign a height to
the table style (element.style.height = "681px") the element will get a
clientHeight of 748 in IE6, while it's 679 is Firefox and Opera (due to
the 1px border).
What can influence the clientHeight in IE6 in this way?
Furthermore, are there any free, open-source, Javascript functions that
you can use to set the dimensions and positions of elements?
Or can you suggest me some good website that explains this whole sizing
and positioning topic in Javascript.
Thanks,
Robert.