View Full Version : how to trim the space that surrounding checkbox

01-03-2003, 02:51 PM
is there any trick to eliminate this annoying space around the checkbox when say you place it in table or something
and i try to align all the aliments to the right for example with all the elements there is no problem except the check box
that keeps have this small space around it .


01-03-2003, 04:35 PM
margin: 0;

or maybe

padding: 0;

Try applying those CSS properties to it and see what happens.

01-03-2003, 05:00 PM
While that will work for IE 5+, I don't think Netscape or Mozilla will pay attention to margin settings unless you float the element.