"Adam Sj�gren" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 29 Nov 2001 20:26:08 +0100, Roland M�sl wrote:
>
> > I tried it and I got with Mozilla 0.9.6
>
> > javascript:alert(document.defaultView.getComputedStyle(document.body,
> > "").getPropertyValue("width"))
>
> > 0px
>
> > and this is wrong.
>
> I just tried on a testpage with Mozilla 0.9.6 and got the result 674px.
>
> Would the <body> of the page you're testing on be empty by any chance?

Test it on
http://pege.org

There are only <DIV style="position absolute on the page.

Actual on the HTML page,
I want to find out the size of the window
before the <BODY> statement.

> Perhaps Comment #3 by David Baron on bug #90861 is relevant?
>
>   http://bugzilla.mozilla.org/show_bug.cgi?id=90861#c3

I am not interested on the size of the <BODY>
I want only to know how big the window is,
where my HTML page is shown.


--
Roland M�sl
http://pege.org Clear targets for a confused civilization
http://BeingFound.com Web Design starts at the search engine




Reply via email to