On 7 mai, 14:06, GTalbot <newsgr...@[EMAIL PROTECTED]
> wrote:
> On 7 mai, 13:45, Martin Honnen <mahotr...@[EMAIL PROTECTED]
> wrote:
>
> > VK wrote:
> > > Do current DOM implementations having any methods to get the
do***ent
> > > true width and height?
>
> > Mozilla has
> > do***ent.height
> > do***ent.width
>
> Martin,
>
> as far as I know, do***ent.width and do***ent.height are not useful,
> helpful. One would instead/rather use
> window.innerWidth and window.innerHeight for browsers that sup****t
> these properties (Safari 2+, Firefox 1+, Seamonkey 1+, Opera 7+).
>
> Regards, G=E9rard
Sorry, I totally misread this. window.innerWidth and
window.innerHeight would give content area, client area, not whole
do***ent width and whole do***ent height. Sorry again about that.
Regards, G=E9rard


|