[thelist] floating with javascript

Douglas Livingstone Evolt at neuance.net
Thu Apr 22 15:19:00 CDT 2004


Hi all.

I want to float a div using javascript. (as in the CSS: float: right; ) I 
found the code to do this in IE over at MSDN:

	this.parentNode.style.styleFloat = 'right';

Works like a charm. Where can I look this sort of stuff up for 
Moz/Opera/Safari?

I'd like to set other CSS properties like clear, padding, margins and so 
on.

Thanks,
Douglas


More information about the thelist mailing list