I don't feel like testing it either :P But taking a look at this
> Element.Styles = new Hash({
left: '@px', top: '@px', bottom: '@px', right: '@px',
width: '@px', height: '@px', maxWidth: '@px', maxHeight: '@px', minWidth:
> '@px', minHeight: '@px',
backgroundColor: 'rgb(@, @, @)', backgroundPosition: '@px @px', color:
> 'rgb(@, @, @)',
fontSize: '@px', letterSpacing: '@px', lineHeight: '@px', clip: 'rect(@px
> @px @px @px)',
margin: '@px @px @px @px', padding: '@px @px @px @px', *border: '@px @
> rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)'*,
borderWidth: '@px @px @px @px', borderStyle: '@ @ @ @', borderColor: 'rgb(@,
> @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)',
zIndex: '@', 'zoom': '@', fontWeight: '@', textIndent: '@px', opacity: '@'
});
Everything tells me setStyle and getStyle would work the same...
--
Guillermo Rauch
http://devthought.com