<html>

<head>
<script>
function boom()
{
  document.getElementById("i1").style.counterIncrement = "chicken";
  document.getElementById("i3").style.counterIncrement = "chicken";
}
</script>
</head>

<body onload="boom();" style="overflow: auto; display: -moz-grid-line;">
<img id="i1" style="width: 30px; float: right;">
<img id="i2" style="margin: 0 100%; padding: 0 60px;">
<img id="i3" style="margin: 100% 0; float: right;">
</body>

</html>