F
foldface
This appears with the first div as a small block (desired behaviour),
but with the subsequent element on the next line (undesired behaviour) and the
3rd div ignored (undesired behaviour).
What am I doing wrong?
What I want is to be able to specify an offset of any given size
and also for elements to appear directly below each other, not with a gap
<style type="text/css">
DIV.clearLeft {clear:left; width:16; background-color: #dddddd;}
DIV.left {float:left;}
</style>
<div class="clearLeft"></div>
<div class="left"><input type="submit" value="Ignore"></input></div>
<div clear="clearLeft"></div>
<div class="left"><input type="submit" value="Ignore"></input></div>
but with the subsequent element on the next line (undesired behaviour) and the
3rd div ignored (undesired behaviour).
What am I doing wrong?
What I want is to be able to specify an offset of any given size
and also for elements to appear directly below each other, not with a gap
<style type="text/css">
DIV.clearLeft {clear:left; width:16; background-color: #dddddd;}
DIV.left {float:left;}
</style>
<div class="clearLeft"></div>
<div class="left"><input type="submit" value="Ignore"></input></div>
<div clear="clearLeft"></div>
<div class="left"><input type="submit" value="Ignore"></input></div>