The CSS float property it is often used (if you don’t layout your pages with evil pages). It is pretty easy to setup using CSS code:
element.style.property = value;
- signs are replaced with camel case (e.g.
backgroundColor instead of
This won’t work for
cssFloat instead. As usual ;), Internet Explorer is special and you should use
That’s it. Short small tip, but very useful if you want to dynamically modify the flow of elements.