View Single Post
Old 07-24-2007, 11:59 AM   #3 (permalink)
Mr.Bill
Contributing Member
 
Mr.Bill's Avatar
 
Join Date: 06-21-07
Posts: 247
iTrader: 2 / 100%
Mr.Bill is liked by many
Found this but it has a padding issue in FF2

Code:
<script> function changecolor(obj){ if (obj.checked) obj.parentNode.style.backgroundColor='green' else obj.parentNode.style.backgroundColor='red'} </script> <form> <div style="width:14px;height:14px;clip:rect(0 14 14 0);overflow:hidden;"> <span style="background-color: red;position:relative;top:-3px;left:-3px;"> <input onclick="changecolor(this)" type="checkbox" style="margin:0; padding:0; FILTER: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50); -moz-opacity:0.5"> </span></div> </form>
I like the image idea better
Mr.Bill is offline   Reply With Quote