How to make the shading look uniform around a double spaced line in MS Word?

Copper Contributor

When I use the shading on a line (with double-spaced 0pt before and after) in MS Word, I see that the shading area exceeds more at the bottom of the line.


However, this doesn't happen with single-spaced lines.


How do I make the shading look uniform around the text even with doubled spaced lines?


I have attached the screenshot here.World Shading Problem.jpg

19 Replies

@debojitacharjee You need to apply the shading to just the text.


If you want the shading to go from margin to margin, you will need to insert a tab stop at the right margin and add a tab space after the last letter on each line




Could you please show me the method of doing it on MS Word?

I have also one word file that I would like to share with you, and it contains two line--one with single-spaced and the other with double-spaced.

Please make the shading of the double-spaced line fit within the margins of the line.

Here is the link of that file:

Please download it to edit on Word.

@debojitacharjee You must apply the shading to the Text, not the paragraph







I don't want the shading for only single lines but for the whole paragraph.



When you apply the shading to the text (not to the whole paragraph), there will be "gaps" in the shading between the more "space-y" lines. For example, this happens for text paragraphs with Double line spacing (see the last paragraph in the screen shot below). 




The alternative is to apply the shading to whole paragraphs: 



The shading will be a "box" that spans from margin to margin. This may look better (it is certainly more consistent), depending on the needs of your document.

You have only given guidance on the usability of the shading feature, but that doesn't solve my problem. Does it?

In your last screenshot, I can see that the problem still exists—the shading is more at the bottom of the paragraph.

If you don't know how to make the shading look the same both at the top and bottom of a paragraph (with double-spaced lines), then please tell me—I am gonna find help from someone else.

@debojitacharjee I have told you exactly what you must do and that is, apply the shading to the Text and NOT to the Paragraph.  If you do what you have been told - apply the shading to the Text, the result will be as shown below





But you are only showing how to apply shading to individual lines. And that's why there are gaps of shades between your lines.


Show me a paragraph with more than two lines having that is centred to the background shading, but should be double-spaced.



How Word "balances" the shading vertically can't really be controlled, when the shading is applied to whole paragraphs (and not to text ranges/text characters). For example, if you choose Double line spacing, more shading will be added below the paragraph than above it (because the Double line spacing is added mostly below the para). It will look slightly better if you use Exactly line spacing (= a fixed amount), but it won't be perfect. See the most recent examples that I posted in your other thread in the Microsoft Community ( 

@Stefan_Blom this is just a trick using different values, but it will not be useful because I need to format ta document using doubled-spaced only to maintain the standards of my work.


I guess there is no one here who can solve this problem.

@debojitacharjee If it is not what I have suggested, what is it?


Using the highlighter, show us what you want



I need the shading all over the paragraph, including the gaps. In the above screenshot you have only highlighted the text but not the whole paragraph.

@debojitacharjee To have the same shading before the paragraph as after


You need to precede the text with an Advance \d 12 field



Can you show me the steps please?

Please edit the file from the link below to change it as per the requirements.

@debojitacharjee Click before the first letter on the first line and go to the Insert tab of the ribbon and in the Text section, click on the Quick Parts dropdown and then on Field and in the Field dialog, select Advance and check the Offset text down box and insert the number 12




Your method seems to be working for me, but the only thing I didn't like about this process is that I will have to make these adjustments manually for every para on which I need to apply the shading. Can't this be done like a default configuration so that this would be done automatically as soon as I apply the shading on a para?

@debojitacharjee Put the selection somewhere in a paragraph to which you want to add such shading and  then run a macro containing the following code

Dim rng As Range
Set rng = Selection.Paragraphs(1).Range
rng.Collapse wdCollapseStart
ActiveDocument.Fields.Add rng, wdFieldEmpty, "Advance \d 12"
rng.Paragraphs(1).Shading.BackgroundPatternColor = wdColorLightBlue

@Doug_Robbins_Word_MVP This doesn't work for the whole para, but only applies to one line.Shading Macro.jpg

@debojitacharjee If you turn on the display of non-printing characters, I believe that you will see a pilcrow (¶) at the end of the line.

This is what it does here