document.body.clientWidth & Mozila<1.1

X

X t l a n

Hello.

I've noticed that Mozilla browsers older than 1.1 release don't support
document.body.clientWidth but I would like to know dimensions of client
workspace area. How to get them? window.innerWidth returns information,
which includes width of scrollbar (this is not useful space). I
would like to subtract that value, but how to cope successfully with
that question?

Regards.
 
R

RobG

X said:
Hello.

I've noticed that Mozilla browsers older than 1.1 release don't support
document.body.clientWidth but I would like to know dimensions of client
workspace area. How to get them? window.innerWidth returns information,
which includes width of scrollbar (this is not useful space). I
would like to subtract that value, but how to cope successfully with
that question?

Have a poke around quirksmode, it probably has everything you need:

<URL:http://www.quirksmode.org/viewport/compatibility.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top