<div style="display:inline;  margin-left:30px;  ">  
                 <span class="checktext"><?php echo $newspec->spec;?><span>
                 <input class="postptext" style=" display:inline; float:right;" type="checkbox" id="<?php echo $newspec->ID;?>" value="<?php echo $newspec->spec;?>">
</div>
<div style="display:inline;  margin-left:30px;  ">  
                 <span class="checktext"><?php echo $newspec->spec;?><span>
                 <input class="postptext" style=" display:inline; float:right;" type="checkbox" id="<?php echo $newspec->ID;?>" value="<?php echo $newspec->spec;?>">
</div>
<div style="display:inline;  margin-left:30px;  ">  
                 <span class="checktext"><?php echo $newspec->spec;?><span>
                 <input class="postptext" style=" display:inline; float:right;" type="checkbox" id="<?php echo $newspec->ID;?>" value="<?php echo $newspec->spec;?>">
</div>
This is css :
.postptext
{
   float:right;
}
This is my layout. This is what I see:

As you can see checkboxes are clearly floated right, yet they insist on acting weird. I cant set margin-left, margin-right , anything. They will just stay there. I put margin-left 30px to whole div, but only spans are applying the margin setting. I am confused. I know that some other css defines checkbox settings. But wouldnt float:Right be enough to override it? If not, what should I do to make them completely ignore the css which is defined by the template?