We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Is it possible to add padding, background and rounded borders to text automatically?
Something like this:
The above image was done with a shape behind text, but wondered if it can be done with just a text box?
Sure. Select the text frame and add the background color as for any other frame.
Use Type > Text Frame Options to adjust the vertical justification—I chose Center—and adjust the corners with Object > Corner Options. (Or play with the little yellow square under the outport—it does the same thing.)
Thank you 🙂
I now have this:
Is there an easy way to vertically center the text inside it's box with the background?
Yes that will happen - you need to go to the Text Frame Options
As pointed out already - use Object Styles
"Use Type > Text Frame Options to adjust the vertical justification—I chose Center."
Have a look at Object Styles.
What about any text (not a frame)?
Character style with underline. Stroke style with rounded corner for underline settings, and few spaces before and after text.
I have found that I need to use the Advanced > baseline shift with a -3.5px value 🙂
I know what you finally want. And there are a few possibilities to do that.
Some of them are already mentioned:
You can also use:
But we do not know what are your requirements. And that's why we cannot say which method is the best for you.
Here is an example of paragraph shading (color "follows" the text) :
live changing after text was edited:
Please answer my previous questions - so that we can really help you.