Styling is a matter to be dealt with only on client-side (broswer) using CSS, it has nothing to do with PHP on the server-side.
1. If you are new to CSS, visit
CSS Tutorial[
^]
2. If you are looking for tips to style checkboxes, check this out:
How To Style A Checkbox With CSS[
^]