RIght Justify a Label

ksignorello 11 Mar, 2015
Trying to right justify a text box label. I tried putting this in the Style Field on the Edit element settings form:

text-align: right !important;

also

{text-align: right !important;}

Neither worked.

Maybe I'm misinterpreting what the style field is for?

Ken
fasenderos 11 Mar, 2015
Use style is a bad practice, use CSS class instead.
Add Load CSS in the on load before HTML rendering.
If you want to style only one label you have to check in the Code Tab the id of the div that contains the label and use this code
:

#div-id label {
your own style here
}

If you want to apply style to all labels use this code

label {
your own style here
}
ksignorello 11 Mar, 2015
Answer
Works! But one wonders what is the style field for? :?
GreyHead 11 Mar, 2015
Hi Ken,

It's there if you need to apply a style to just one input. In general you shouldn't need it.

Bob
This topic is locked and no more replies can be posted.