Guest_imported
New member
- Jan 1, 1970
- 0
hi folks!
as NS6 has stopped supporting <layer>, i would very much like to know how to find the height (offset height) of a layer containing text in NS6.
var height = document.getElementById('contentLayer').attribute
doesn't really help unless you have specified the height of the layer and in any case this is no use to us finding the true height of the text in the layer for scroll purposes.
just to make my point completely clear i am expecting a value like
var width = document.all.contentLayer.scrollWidth
that will be returned in IE using the above statement.
please help! thanks in advance!
dillingah.
as NS6 has stopped supporting <layer>, i would very much like to know how to find the height (offset height) of a layer containing text in NS6.
var height = document.getElementById('contentLayer').attribute
doesn't really help unless you have specified the height of the layer and in any case this is no use to us finding the true height of the text in the layer for scroll purposes.
just to make my point completely clear i am expecting a value like
var width = document.all.contentLayer.scrollWidth
that will be returned in IE using the above statement.
please help! thanks in advance!
dillingah.