Label width in a multi-field row

SPABO 29 May, 2014
I have added a multi field row, but I wish to change the standard width of one of the labels...

Tried to figure it out using load CSS in the On Load part, but no success

The label-id is : nr

I have added this:
#nr
{ width: 25px !important;
}

Where does it go wrong....
GreyHead 30 May, 2014
Hi SPABO,

I didn't think that Labels have IDs by default? Please post a link to the form so I can take a quick look.

Bob
GreyHead 30 May, 2014
Hi SPABO,

There is no id for the label :-(
<label for="nr">nr</label>


Bob
SPABO 30 May, 2014
Ugh, In other words it would not be be possible?? 😢
GreyHead 30 May, 2014
HI SPABO,

It's possible you just need to use a CSS Selector that works.

Bob
SPABO 30 May, 2014
No idea what you are saying....
As said, I added the CSS action in the OnLoad tab.
What else can I do...

(And nowhere some examples to find...)
GreyHead 30 May, 2014
Hi SPABO,

You CSS applies to a element with an id of 'nr'.

The label doesn't have that id so the CSS isn't applied.

Bob
SPABO 31 May, 2014
1 Likes
SOLVED NOW

#nbr_container_div label {
  width: 35px;
}
This topic is locked and no more replies can be posted.