How to bold or format text in a word wrap paragraph using Span Styles

If you have a word wrap paragraph, and you wish to have certain parts of text bolded, underlined, colored, etc., you can use a Span Style.

 

For example I will use the following text below:

 Welcome to Uluro!  Uluro is a unique software solution applying lean manufacturing concepts to the process of creating, producing, and delivering mission-critical communications.

 

Say I wanted the text to appear like this:

Welcome to Uluro! Uluro is a unique software solution applying lean manufacturing concepts to the process of creating, producing, and delivering mission-critical communications.

 

Then I would would put in Span Styles as shown below:

Welcome to <SPAN style=":Bold">Uluro!<\span> Uluro is a unique software solution applying <SPAN style=":Underline">lean<\span> manufacturing concepts to the process of <SPAN style=":Italic"> creating, producing, and delivering mission-critical communications<\span>.

 

 

The following are a list of allowed span styles:

:BOLD

:Italic

:Underline

:line-through

Or combinations (separated by ;  )

Background-color:#XXXXXX;   where XXXXXX is the color  Blue Green Red  (  ; is necessary)

Color:#XXXXXX; where XXXXXX is the color  Blue Green Red  (  ; is necessary)

5 Comments

  • Avatar
    Jon Ludena

    What order should the values be entered in (typically it is RGB)? Is tehre a need for a semicolon seperator between each value or should each value be 0 padded to 3 digits (otherwise how will the mapper now that 204947 is for example)? I tried it like this :<span style=":Color:#204;9;47;"> and without the semicolons, but it does not appear to be working for me.

  • Avatar
    Jon Ludena

    It looks like what you are asking for is a hex value and not RGB values(since this appears similar to a css rule). It looks like it works with a limited number of hex values, but then it just replaces whatever color it cant find with blue. For example I want #cc092f which is a bright red, but registers as blue in the mapper. help?

  • Avatar
    Permanently deleted user

    Jon,

     

    The mapper is backwards from standard 3 color hex.  Instead of RGB it uses a bitmap BGR.  Try entering in <span style="Color:#f290cc";> Your Text <\span>

  • Avatar
    Permanently deleted user

    Also you can use span styles in variable mappings by putting the span in the format field.

    i.e., <SPAN style=":Bold"> %s <\span>

     

    The %s is the variable.

  • Avatar
    Jon Ludena

    Thanks for the feedback

Article is closed for comments.
Powered by Zendesk