[ng-dhtml] style.js

Scott J. Miles sjmiles at turbophp.com
Sat Sep 17 17:55:36 CDT 2005

Thanks Dean! 

Fwiw, I'm punting IE5.x most of the time.

IE7 is impressive work.


-----Original Message-----
From: NG-DHTML-bounces at netwindows.org
[mailto:NG-DHTML-bounces at netwindows.org] On Behalf Of Dean Edwards
Sent: Saturday, September 17, 2005 1:44 PM
To: the Dojo project contributor's discussion list
Subject: Re: [ng-dhtml] style.js

Scott J. Miles wrote:
>>> Dean Edward's IE7 supports all unit types. It is open source so
>>> maybe you can grab some code from there to support more units?
> Wow, I've never seen that before. Lots of goodies there.

If you are interested in computing pixel values for IE6 then there is a 
getPixelValue function in ie7-core.js:


If you want to compute pixel values for IE5.x then that is much more 
complicated. You can take a look here:


but as I say it is complicated...

FYI - clientWidth/Height are always zero for elements without "layout" 
in IE.



No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 9/16/2005

More information about the NG-DHTML mailing list