Solved

Netscape Navigator clientWidth property

Posted on 2004-09-27
7
209 Views
Last Modified: 2010-05-18
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
0
Comment
Question by:msterjev
  • 4
  • 2
7 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 12160104
Check for: innerWidth

0
 
LVL 3

Author Comment

by:msterjev
ID: 12160195
Doesn't work!
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 12160641
Check for: offsetWidth
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 25

Expert Comment

by:devic
ID: 12163262
IE: document.body.clientWidth
NS: window.innerWidth
0
 
LVL 3

Author Comment

by:msterjev
ID: 12167070
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
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 125 total points
ID: 12167378
Did you check for:  cell.offsetWidth

0
 
LVL 63

Expert Comment

by:Zvonko
ID: 12168257
Thanks.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now