Discussions

Expand all | Collapse all

Border Around Formula Field

  • 1.  Border Around Formula Field

    Posted 06-09-2017 00:08
    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.  RE: Border Around Formula Field

    Posted 06-09-2017 00:42
    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


  • 3.  RE: Border Around Formula Field

    Posted 06-09-2017 00:49
    Many thanks for your help.