blob: 2c11ce201020090f427781e940f25d4bc19dc0cc [file] [log] [blame]
<body>
<div id="foo" style="width:100px;height:100px;background-color:green"></div>
<script>
var f = document.getElementById('foo');
f.style.cssFloat = 'left';
with (f.style) {
cssFloat = 'right';
}
</script>
</body>