I have a css style which contains class .title1I want to use this class in editable field in my form to change appearance of the field’s content accessing the form by web. I set field’s parameters html\class “title1” but the text style of content is still the same with no change.
Please could you tell me where problem can be?
Subject: RE: CSS class in form’s field
did you try the .title instead of just the title
Subject: RE: CSS class in form’s field
The class applies in edit mode only. In read mode, there is no HTML for the field widget – only its content is displayed as plain text. If you need to class the content in read mode, put some computed text before and after the field. The formula for the text before would be:
@If(@IsDocBeingEdited;“”;“<span class="myclass">”)
and after is:
@If(@IsDocBeingEdited;“”;“”)
Mark both as passthru HTML.
Subject: RE: CSS class in form’s field
Stan, that explains my frustration trying to use CSS in the Notes client. How did you figure this out? Is it documented anywhere?
Subject: RE: CSS class in form’s field
Just a matter of using the View->Source functionality of the browser. Oh, and playing with ND6 for almost the entire public beta (with the attendant help of the Lotus developers in the feedback forum) helped a bit as well ;o)
Subject: RE: CSS class in form’s field
try not using the quotes