MichaelTamoush
5 years agoQrew Captain
Add leading or trailing space in rich text field
Is it possible to add a leading or trailing space in a rich text field? For example:
"<div style=\"background-color:#9d2cd1;Font-Size:14px;text-align:center;Color:Black\"><b>Text Here</b></div>" &
"<div style=\"background-color:#9d2cd1;Font-Size:14px;text-align:center;Color:Black\"><b>Longer Text Here</b></div>"
This shows both words, each on its own line centered with different background colors (I am making a color key). But the longer text stretches the width of the field. What I would like is something like:
"<div style=\"background-color:#9d2cd1;Font-Size:14px;text-align:center;Color:Black\"><b>Text Here</b></div>" &
"<div style=\"background-color:#6ca672;Font-Size:14px;text-align:center;Color:Black\"><b> Longer Text Here </b></div>"
Notice the spaces in front of and at the end of 'longer text here'. Those spaces do not work. Is there a syntax to have leading and trailing spaces?
------------------------------
Mike Tamoush
------------------------------
"<div style=\"background-color:#9d2cd1;Font-Size:14px;text-align:center;Color:Black\"><b>Text Here</b></div>" &
"<div style=\"background-color:#9d2cd1;Font-Size:14px;text-align:center;Color:Black\"><b>Longer Text Here</b></div>"
This shows both words, each on its own line centered with different background colors (I am making a color key). But the longer text stretches the width of the field. What I would like is something like:
"<div style=\"background-color:#9d2cd1;Font-Size:14px;text-align:center;Color:Black\"><b>Text Here</b></div>" &
"<div style=\"background-color:#6ca672;Font-Size:14px;text-align:center;Color:Black\"><b> Longer Text Here </b></div>"
Notice the spaces in front of and at the end of 'longer text here'. Those spaces do not work. Is there a syntax to have leading and trailing spaces?
------------------------------
Mike Tamoush
------------------------------