PDA

View Full Version : Left align checkbox in Fieldset



BostonMerlin
26 Aug 2011, 5:42 AM
I've tried left aligning a checkbox within a field set but to no avail. I've tried overriding the controls alignment via css using the controls cls, inputCls, fieldCls, componentCls but no luck. Used text-align:left, padding-right:50px, float:left (worked but screwed up the fieldset ui).

I was able to inspect the element and get a handle on it via css but for some reason i'm not able to left align it.

Thoughts?

Thanks
JB

sffetlio
19 Sep 2011, 12:42 AM
I managed to get this effect whith this code:

.x-field .x-input-checkbox::after, .x-field .x-input-checkbox:checked::after{
right: 0em !important;
left: 32%;
}