Forum Discussion

ArshadKhwaja's avatar
ArshadKhwaja
Qrew Commander
7 years ago

Border Around Formula Field

Any idea how could I add a border in the following syntax or indeed any other way?

"<div style=\"font-weight: bold; background-color:yellow; color:black; font-size: 200%; text-align: center; \">" & [Store Name]  & " " &  [Banner Image] & "</div>" 

2 Replies

  • inside the style attribute add the text:

    border: 1px solid red

    like this (untested)

    "<div style=\"border: 1px solid red; font-weight: bold; background-color:yellow; color:black; font-size: 200%; text-align: center; \">" & [Store Name]  & " " &  [Banner Image] & "</div>" 

    The 1px refers to the size of the border in pixels; the solid refers to the line style; and red refers to the color of the border. You can change any of these values