I have customized the html checkbox with applying some css. In that I'm used the checkbox border is 1px solid. But in the left and top of the border, checkbox having some amount of pixel which is larger than the right and bottom of the checkbox. While inspecting the element in the device, It's shows the border 1px solid value only.
How to resolve this issue.?
EDIT 1: CSS used for checkbox:
.rootel {
height: 12px;
width: 12px;
float: left;
border: 1px solid #333333;
}
.rootel .innerel.active{
background-position: 0 -4px;
background-repeat: no-repeat;
float: left;
height: 20px;
left: -3px;
position: absolute;
top: -5px;
width: 22px;
}