#1
|
|||
|
|||
background for paragraph text only
A one-off task has hit my desk, and I'll probably have a few questions … this morning's is about applying a background colour. I've entered three paragraphs, each with less than a line of text, then tried the Shading tool from the Paragraph group to set a background colour. The result is a block of background colour the full width of the page, when what I want is a block of background colour only behind the text. How do I set the background colour behind the text only? thanks in advance. |
#2
|
||||
|
||||
Home Tab > Paragraph Group > Borders and Shading > Apply shading to Text (not paragraph)
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
If you want to avoid going to the dialog, select only the text to be shaded, not including the paragraph mark. (You do show paragraph marks when editing, don't you?)
|
#4
|
|||
|
|||
Alas … no Borders and Shading in my Paragraph group, and the Shading tool doesn't include the "apply to" option. The Borders and Shading tab in the Styles dialogues has an "Apply to" pull-down with 'paragraph' as the only option, whether I select the whole paragraph (including pilcrow) or just put the cursor in the paragraph text.
|
#5
|
|||
|
|||
Farther experiment leads to 1) select all text (but not pilcrow); 2) use Shading tool to apply background colour.
All I had to do after that was adjust the leading to suppress the white space that appeared. Required result achieved. |
#6
|
||||
|
||||
Really? In what Word version?
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#7
|
|||
|
|||
Of courses, interfaces were easier to describe in the good ol' days before ribbons … but in the Paragraph group, I don't see an option Borders and shading. It's an option one level deeper, from the pulldown identified as Bottom border. To mislead me even farther, the Shading tool says it's to "Colour the background behind the selected text or paragraph".
But I'll know for next time :-} |
#8
|
||||
|
||||
The shading button in the Paragraph group tries to reflect the selected settings at the insertion point, which means that it will be a bit difficult to identify it by the way it looks.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
Tags |
background colour |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inserting text from a Userform into a Field in a paragraph in a paragraph in a word document | storemaz | Word VBA | 1 | 03-13-2020 08:11 AM |
Word changing my body text to heading text when I apply paragraph numbering | ddiemetric | Word | 1 | 01-17-2017 01:10 PM |
Wrap text in text box around image with transparent background | pstidsen | Word | 4 | 02-08-2016 03:30 PM |
Background imageand text box | rafnews | Word | 1 | 10-25-2012 08:44 AM |
Text box background MUST be white? | Gummo | Drawing and Graphics | 0 | 07-12-2010 01:35 PM |