pruppert

Simple question about using GetAsCSS

Discussion created by pruppert on Aug 12, 2016
Latest reply on Aug 12, 2016 by beverly

The FileMaker documentation says the following about GetAsCSS:

 

GetAsCSS(text) returns the example result shown below when the field text contains the word “Frank” and the word Frank has the following text attributes: Font = Helvetica, Font Size = 12 points, Font Color = red, Font Style = bold.

Example result:

<SPAN STYLE = “font-family: 'Helvetica';font-size: 12px;color: #FF0000;font-weight: bold;text-align: left;”>Frank</SPAN>

 

My question is, how/where do you set the text attributes? Do you embed that in the field that is referenced by GetAsCSS or somewhere else?

 

Thanks.

Outcomes