U can Do it !
I would let u know that DOM will constitute the Definitions of the Functionalities and attributes for CSS
this is because of the thing , DOM doesn't constitute a definiton for float
instead there are different definitions for this in different browsers
so just use
element.style.cssFloat="left"; // this is for firefox
element.style.styleFloat="left"; // this is for IE
Actually we just need to know some conventions
1)does dom consists of what we r writing
2)do we follow naming convention
started with small letter ex: element.style.padding="0px"
each pronounced word is capitalized ex: element.style.paddingLeft="0px"
3)do we assign values like in dom ex:style.width="100px" but not style.width=100