View Full Version : [SOLVED] How can I change the style of a label or field?
18 Feb 2012, 11:41 PM
I think to use fieldStyle or labelStyle,
but I don't know how to set them.
Please teach me the detailed setting method.
19 Feb 2012, 3:13 AM
The method was found!
What was necessary was just to only have set to fieldStyle or labelStyle with "background-color:red;font-size:18px".
20 Feb 2012, 7:34 AM
That's one way to do it or you could also add an additional css class to the field and then style it via css.
20 Feb 2012, 7:54 AM
Thanks a lot!
Can the font size of a button-text or combo-box item also be changed by CSS?
I tried them but could not change,but only background color.
What is bad?
font-size: 18px !important;
font-weight: bold !important;
20 Feb 2012, 8:13 AM
Yes, they can be changed with CSS. Ensure that the rules are affecting the proper elements and have the right amount of specificity.
20 Feb 2012, 8:50 PM
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.