You need to sign in to do that
Don't have an account?
TehNrd
Can't overide the style for a outputField.
I have an output field in a pageBlock section and I am trying to make the value red. The field is Amount on opportunity but I am using it as a proxy variable to hold a currency total. Any idea why my styles aren't working?
Thanks,
Jason
Code:
<apex:pageBlockSectionItem > <apex:outputLabel value="Total NSP Amount" for="nsptotal"/> <apex:outputField value="{!masterDiscount.Amount}" id="nsptotal" style="color: red; font-weight: bold"/>
<apex:pageBlockSectionItem >
Thanks,
Jason
I think I remember Jill mentioning this may be a bug and this is the correct workaround.
Thankyou TehNrd.
<pre>
$j('span[id$="nsptotal_ileinner"]').css({'background-color' : '#d0f5a9'});
</pre>