Link to home
Start Free TrialLog in
Avatar of msterjev
msterjev

asked on

Netscape Navigator clientWidth property

What is the Netscape Navigator's equivalent to the dynamic attribute clientWidth used in the Internet Explorer. I hava a table cell which is resized because of nonwrapable text. I need to determine the actual width of the cell displayed on the screen.

Thanks
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Check for: innerWidth

Avatar of msterjev
msterjev

ASKER

Doesn't work!
Check for: offsetWidth
IE: document.body.clientWidth
NS: window.innerWidth
I'm not talking about window. I want to get the table's cell actual width. I'm using direct DOM (document.getElementsById()) to retrieve particular cell (column). That cell has property width that I can retrieve with the method cell.getAttribute("width"). My question is: is there an attribute that represents the actual width of the cell on the screen (not the declared width in the HTML). In IE this is the read only attribute clientWidth.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.