Pretty Checkboxes and Radio Buttons - Sean Fousheé: "Lets start with the check buttons first (skip to the radio buttons). Here is the basic HTML form. If you're familiar with Aaron's original code you'll see some immediate differences. In order to make the form validate, as well as keep the look and feel of the checkboxes in place if the page needs to degrade gracefully, I changed out a few elements:
I replaced the h4 tag and instead opted to use the fieldset's legend
I changed the unordered list containing the checkboxes in separate list items to a simple divisions
Therefore, the list items are now paragraphs (needed the block element for the styles)
Instead of using paragraphs inline with input tags to handle the text, I used spans. However, I suppose labels might be a better semantic choice
I removed the anchor tags, more on this later
"
'via Blog this'