Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to increase my line-spacing of a paragraph while keeping a visually attractive 'padding' that is equal at the top and bottom of the line. Increasing line-height currently 'pads' the bottom of the line (see screenshot).

Is it possible to somehow vertically align the text in the middle of the line, or might there be another solution?

enter image description here

share|improve this question
up vote 2 down vote accepted

It looks like you have your text double spaced. Instead of increasing the line spacing, add spacing (try 12pt) before and after the paragraph. The colored box will stay tight to the text, but it will be even on both top and bottom. If you want the border to be further away from the text, use the Options button in the Borders and Shading dialog to set the distance of the border from the text.

Another alternative, if you need to use double spacing, would be to increase the top border to compensate for the additional width that the double spacing adds below your text.

enter image description here

share|improve this answer

Try using Shift+Enter for spacing rather than a hard carriage return.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .