I use negative fields to arrange two columns:
<div id="left-column"><input type="checkbox" /></div>
<div id="right-column">
<div id="right-column-inner"></div>
</div>
Css:
#left-column { width: 200px; float: left;}
#right-column { margin-left: -200px; width: 100%; float: left;}
#right-column-inner { margin-left: 200px; float: left;}
Unfortunately, in Opera 10.54, Safari 4, and FF 3+, a flag cannot be #right-columnclicked because it captures a click before it starts using that flag.
I tried to manipulate the z-index, but no luck.
Any idea how to make this work?
source
share