Change Float style with Javascript

If you would like to change the float style of some element using javascript, then use the following.

[source language=“javascript“]

var element = document.getElementById( ’some_element_id‘ );

element.style.cssFloat = ‚left‘;

[/source]

Ein Kommentar zu „Change Float style with Javascript

Kommentar verfassen