<html>
<head>
<style>
.topfloat { float:right;height:22px;width:126px;overflow:hidden; background-color:orange }
.clearingfloat { clear:both;float:right; overflow:hidden }
span { float:left;overflow:hidden;height:26px;width:22px;background-color:purple }
</style>
</head>
<body>
<div style="position:absolute;">
<div class="topfloat"></div>
<div class="clearingfloat">
  <span></span>
  <span></span>
</div>
</div>
<script type="text/javascript">
document.body.offsetLeft;
</script>
</body>
</html>
