style.float vs style.cssFloat vs style.styleFloat
By Vincent DEMAY, Tuesday 22 January 2008 :: IE sucks :: #99 :: rss
float is a reserved keyword in javascript so, if you want to set the float css attribute with javascript you need to use :
node.style.cssFloat = "left"; //instead of node.style.floatpretty good but our dear IE is not agree with that, with you should do :
node.style.styleFloat = "left"; //specific for our dear friend IE
Power by
Comments
No comment.
Add a comment