Permalink
Browse files

Styles

  • Loading branch information...
doomhz committed Jun 17, 2011
1 parent b7247cf commit 0a41cce1bdd9b2aa8cce2639b586250ba88dd1e3
Showing with 17 additions and 5 deletions.
  1. +1 −1 README
  2. +16 −4 assets/formElements.css
View
2 README
@@ -1,3 +1,3 @@
jQuery Form Elements
-Give your custom styles to your checkboxes, radios and selects.
+Give a custom style to your checkboxes, radios and selects.
View
@@ -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;
}

0 comments on commit 0a41cce

Please sign in to comment.