Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 1 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.