diff --git a/README b/README index 8c23381..ac31253 100644 --- a/README +++ b/README @@ -1,3 +1,3 @@ jQuery Form Elements -Give your custom styles to your checkboxes, radios and selects. \ No newline at end of file +Give a custom style to your checkboxes, radios and selects. \ No newline at end of file diff --git a/assets/formElements.css b/assets/formElements.css index 770a824..cc84e1c 100644 --- a/assets/formElements.css +++ b/assets/formElements.css @@ -7,18 +7,30 @@ body { display: none; } +.check_on { + padding: 0 0 0 25px; +} + +.check_off { + padding: 0 0 0 25px; +} + .radios .check_on { - background: url('radio_on.png') no-repeat left left; + display: inline-block; + background: url('radio_on.png') no-repeat; } .radios .check_off { - background: url('radio_off.png') no-repeat left left; + display: inline-block; + background: url('radio_off.png') no-repeat; } .checks .check_on { - background: url('check_on.png') no-repeat left left; + display: inline-block; + background: url('check_on.png') no-repeat; } .checks .check_off { - background: url('check_off.png') no-repeat left left; + display: inline-block; + background: url('check_off.png') no-repeat; } \ No newline at end of file