<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > <script> function removestyles(){ var x=document.getElementById('x'); x.removeAttribute('style'); } setTimeout(removestyles,400); </script> <div><xul:editor id="x" style="float: left;"></xul:editor></div></html>