Skip to main content
Question

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>" 
This topic has been closed for 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

Many thanks for your help.