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?

Perhaps Comment #3 by David Baron on bug #90861 is relevant?

  http://bugzilla.mozilla.org/show_bug.cgi?id=90861#c3


  Best regards,

-- 
 "Well, I'm a moon around you"                                 Adam Sj�gren
                                                          [EMAIL PROTECTED]

Reply via email to