Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NS6 layer height! kindly help!

Status
Not open for further replies.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top