Hi Karthik,
The label has two classes, .my and .xforms-label
Try
.my
{ background-color: #DF731B;
}
or
.xforms-label
{ background-color: #DF731B;
}
On Tue, Mar 30, 2010 at 5:09 AM, karthik Jayraman
<[hidden email]> wrote:
While i was searching through the posts in the forum i saw a post where a
person mentioned that he could change the width of the input box by
<xforms:input ref="vra:titleSet/vra:title" class="largeinput">
and writing the css as
.largeinput input { 120em }
I tried it and worked. Now i am trying to do this for a label.
1. <xforms:label ref="$form-resources/name/label" class="my"/>
2. In chrome i right clicked the label -> Selected the "Inspect element"
option and it revealed that the class name was
my xforms-label
3. So my css was
.my xforms-label
{ background-color: #DF731B;
}
BUT THIS DOES NOT WORK .. HELP ME PLEASE
In general how can write a CUSTOM CSS for a specific component
--
View this message in context: http://n4.nabble.com/Regarding-changing-a-controls-css-Control-specific-CSS-tp1744927p1744927.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws