HTML/CSS/CSS Attributes and Javascript Style Properties/styleFloat
"styleFloat" Example
<html>
<body>
<img id="myImg1"
src="http://www.wbex.ru/style/logo.png"
border="0"
style="float:left">
<p style="font-family:verdana;
width=200;
cursor:hand">
some text.<br>
www.wbex.ru
</p>
<button onclick="myImg1.style.styleFloat="right"">Change float to right</button>
</body>
</html>