Subj : Re: Retrieving a list of attributes from the class of an HTML-Element To : James Ross From : Boris Zbarsky Date : Thu Jun 03 2004 10:26 am James Ross wrote: > What you probably want is window.getComputedStyle(element, null).* No, you want document.defaultView.getComputedStyle(element, null).* There's nothing saying that document.defaultView == window, it need not be true in non-Mozilla browsers, and it may not stay that way in Mozilla. -Boris .