\r
.v-checkbox,\r
.v-checkbox label,\r
-.v-checkbox input {\r
+.v-checkbox input,\r
+.v-checkbox .v-icon {\r
vertical-align: middle;\r
white-space: nowrap;\r
}\r
-.v-checkbox img {\r
- display: inline;\r
- vertical-align: middle;\r
- margin-right: 3px;\r
+.v-checkbox .v-icon {\r
+ margin: 0 2px;\r
}\r
.v-checkbox .v-errorindicator {\r
float: none;\r
display: inline;\r
- padding-left: 1em;\r
- background-position: left;\r
-}\r
-/* Error indicator on checkbox fix for IE6 */\r
-.v-ie6 .v-checkbox * {\r
- float: left;\r
- display: inline; /* In effect, does nothing, since float:left forces block-rendering, but will fix "double-float-margin-bug" */\r
-}\r
-.v-ie6 .v-checkbox .v-errorindicator {\r
- background-position: right;\r
- display: inline;\r
- float: left;\r
- padding-left: 0; \r
- padding-right: 0.4em;\r
-}\r
-/* Error indicator on checkbox fix for IE7 */\r
-.v-ie7 .v-checkbox *,\r
-.v-ie8 .v-checkbox * {\r
- float: left;\r
-}\r
-.v-ie7 .v-checkbox .v-errorindicator,\r
-.v-ie8 .v-checkbox .v-errorindicator {\r
- background-position: right;\r
- float: left;\r
- padding-left: 0;\r
- padding-right: 0.7em;\r
+ display: inline-block;\r
+ zoom: 1;\r
}\r
\r
\r
.v-checkbox,
.v-checkbox label,
-.v-checkbox input {
+.v-checkbox input,
+.v-checkbox .v-icon {
vertical-align: middle;
white-space: nowrap;
}
-.v-checkbox img {
- display: inline;
- vertical-align: middle;
- margin-right: 3px;
+.v-checkbox .v-icon {
+ margin: 0 2px;
}
.v-checkbox .v-errorindicator {
float: none;
display: inline;
- padding-left: 1em;
- background-position: left;
-}
-/* Error indicator on checkbox fix for IE6 */
-.v-ie6 .v-checkbox * {
- float: left;
- display: inline; /* In effect, does nothing, since float:left forces block-rendering, but will fix "double-float-margin-bug" */
-}
-.v-ie6 .v-checkbox .v-errorindicator {
- background-position: right;
- display: inline;
- float: left;
- padding-left: 0;
- padding-right: 0.4em;
-}
-/* Error indicator on checkbox fix for IE7 */
-.v-ie7 .v-checkbox *,
-.v-ie8 .v-checkbox * {
- float: left;
-}
-.v-ie7 .v-checkbox .v-errorindicator,
-.v-ie8 .v-checkbox .v-errorindicator {
- background-position: right;
- float: left;
- padding-left: 0;
- padding-right: 0.7em;
+ display: inline-block;
+ zoom: 1;
}
.v-checkbox,
.v-checkbox label,
-.v-checkbox input {
+.v-checkbox input,
+.v-checkbox .v-icon {
vertical-align: middle;
white-space: nowrap;
}
-.v-checkbox img {
- display: inline;
- vertical-align: middle;
- margin-right: 3px;
+.v-checkbox .v-icon {
+ margin: 0 2px;
}
.v-checkbox .v-errorindicator {
float: none;
display: inline;
- padding-left: 1em;
- background-position: left;
-}
-/* Error indicator on checkbox fix for IE6 */
-.v-ie6 .v-checkbox * {
- float: left;
- display: inline; /* In effect, does nothing, since float:left forces block-rendering, but will fix "double-float-margin-bug" */
-}
-.v-ie6 .v-checkbox .v-errorindicator {
- background-position: right;
- display: inline;
- float: left;
- padding-left: 0;
- padding-right: 0.4em;
-}
-/* Error indicator on checkbox fix for IE7 */
-.v-ie7 .v-checkbox *,
-.v-ie8 .v-checkbox * {
- float: left;
-}
-.v-ie7 .v-checkbox .v-errorindicator,
-.v-ie8 .v-checkbox .v-errorindicator {
- background-position: right;
- float: left;
- padding-left: 0;
- padding-right: 0.7em;
+ display: inline-block;
+ zoom: 1;
}
.v-checkbox,
.v-checkbox label,
-.v-checkbox input {
+.v-checkbox input,
+.v-checkbox .v-icon {
vertical-align: middle;
white-space: nowrap;
}
-.v-checkbox img {
- display: inline;
- vertical-align: middle;
- margin-right: 3px;
+.v-checkbox .v-icon {
+ margin: 0 2px;
}
.v-checkbox .v-errorindicator {
float: none;
display: inline;
- padding-left: 1em;
- background-position: left;
-}
-/* Error indicator on checkbox fix for IE6 */
-.v-ie6 .v-checkbox * {
- float: left;
- display: inline; /* In effect, does nothing, since float:left forces block-rendering, but will fix "double-float-margin-bug" */
-}
-.v-ie6 .v-checkbox .v-errorindicator {
- background-position: right;
- display: inline;
- float: left;
- padding-left: 0;
- padding-right: 0.4em;
-}
-/* Error indicator on checkbox fix for IE7 */
-.v-ie7 .v-checkbox *,
-.v-ie8 .v-checkbox * {
- float: left;
-}
-.v-ie7 .v-checkbox .v-errorindicator,
-.v-ie8 .v-checkbox .v-errorindicator {
- background-position: right;
- float: left;
- padding-left: 0;
- padding-right: 0.7em;
+ display: inline-block;
+ zoom: 1;
}
if (uidl.hasAttribute("error")) {
if (errorIndicatorElement == null) {
- errorIndicatorElement = DOM.createDiv();
+ errorIndicatorElement = DOM.createSpan();
errorIndicatorElement.setInnerHTML(" ");
DOM.setElementProperty(errorIndicatorElement, "className",
"v-errorindicator");