Page 1 of 1

Highlighting the background of text boxes .

Posted: Tue Jun 22, 2021 5:15 am
by matthewthenewbie
Hi ,

What is the best method of highlighting the background of text or text boxes with equal padding around the text ?

I have tried doing a simple text highlight but because the text is left align the highlight only covers the text and is not straight like a square edge ( square shape ) .

I also tried to use a 50 pixels by 50 pixel colour image and stretched it out to cover the area of the text and use that as a background , however , when I upload it and compare it with a smart phone and laptop using chrome , the size comes out different .

I am looking for a simple fix if possible however if it requires a little more work I am willing to learn provided that someone is willing to teach me in simple terms or at least detailed instructions .

Any input would be greatly appreciated :)

Re: Highlighting the background of text boxes .

Posted: Tue Jun 22, 2021 5:58 am
by Pablo
Are you using fixed or flexible layout?

For fixed layout you can put a shape in the background.
For flexible layout you can set the background of the grid column to a different color.

Note: text will never look exactly the same in all browsers, so there is no way to get pixel perfect results unless you publish the text as an image.

Re: Highlighting the background of text boxes .

Posted: Tue Jun 22, 2021 11:48 am
by crispy68
You can simply right click a text object, choose object properties and go to the style tab and select the background of your text.

Re: Highlighting the background of text boxes .

Posted: Thu Jun 24, 2021 2:42 pm
by matthewthenewbie
Thanks Crispy68 and Pablo ,

These methods worked , Thanks !