I found out the hard way today that in order to set the float style for an element in javascript, you can't use:
element.style.float
because float is a reserved word, bla bla. Fine and dandy. So I look up what I need to use instead. Found the standards way:
element.style.cssFloat
But wait...It doesn't work in IE. In IE I have to use their type:
element.style.styleFloat
IE is such a POS. Anyway, thought I might save someone else from having to dig around for it.
TrackBacks[4]
Comments[7]
Posted by gthought on January 19, 2007 2:45:38 PM CST




