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.

In Microsoft Word 2007 I want to put a heading in the center of a line with a horisontal line to the left and to the right of the text.

The line must not cross through the text. I have tried using Autoshapes, lines - but then the lines move each time I press enter or backspace and I have to put them in place again manually.

At Borders and Shading there is an "insert horizontal line" option, but this gives me a solid line from the left to the right of the page and I cannot insert text anywhere on it or in it.

The final product should look something like this

------------------------- Heading -------------------------

Please Help

share|improve this question

3 Answers 3

Type "Heading" on the line where you need it.

View -> Check the "Ruler" mark.

enter image description here

In the top left corner of the document area (below the ribbon), there is a little square with funky signs that change if you keep clicking on them (1). The one that's displayed should be the "L" looking, when you hover your mouse over it, it says "Left Tab" (the one that's on the picture is the Right tab). Make sure it is displayed and click on the lower part of the ruler until you see the same shape show up on the ruler. Once you see it there, you can drag it wherever you need it. Find the tab marks on the left of the ruler (you drag them to adjust the left alignment). Make sure your "L" is on top of the bottom piece (2).

Click the corner with funky shapes once, your selection should change to the upside-down "T". Place your upside-down "T" on the lower part of the ruler somewhere in the middle (you can easily adjust it later, so an approximation would work just fine for now) (3).

Click the corner with funky shapes once more, you should see the mirrored "L", now click on the lower part of the ruler again, closer to the right border of the printable area. Once you have the mark there, drag it to the marker that designates the right side of the printable area (4).

Position your cursor before the beginning of your heading. Select "Strikethrough." Hit "Tab" key once. Move your cursor to the end of your heading. Select "Strikethrough". Hit "Tab" key once.

You can now adjust the middle of your heading by dragging the marker on the top of the ruler.

Here's a catch: if you start a new line, remove those markers from the ruler (click and hold your mouse on one of them, drag it down until the mark becomes gray, release your mouse and it will disappear), otherwise next time you hit the "Tab" key, your cursor will move to the middle of the page.

I hope I made it clear, it's hard to explain, but those little markers are a powerful alignment feature, and is very usable for tasks like yours.

share|improve this answer

Strikethrough won't work. Insert "---", and press enter. This will give you the line you're looking for. Insert a text box onto the middle of that line you just created and change the properties of the background of the text box to be an opaque white (to cover up the part of the line behind the words. If you center the text inside of the text box, you can adjust how much of the "line" you want to cover up by stretching the text box out on the sides.

share|improve this answer
    
It does work, how do you think I attained picture proof? –  John T Dec 29 '09 at 4:30

Put spaces (or tabs) on either side of your word, then apply strikeout to them. Do not strikeout the whole line, just highlight the spaces on either side and apply strikeout to them separately. I'm not sure if word calls it strikeout or strike-through, but look for it in the font options.

I'm pretty sure this is what you want:

alt text

share|improve this answer
    
nice thinking, but Word is a b****, "strikethrough" only works until the letter 'g' in 'Heading' or anywhere BEFORE but not after. at least in Word 2003 –  Molly7244 Dec 28 '09 at 18:05
    
Then you're doing it wrong. –  John T Dec 28 '09 at 18:15
    
don't think so, highlighted the first bit, pressed CTRL and highlighted the last bit, so far so good, now right click and FONTS, select strikethrough and hit OK, the result: i365.photobucket.com/albums/oo94/eeemolly/wordlinesheader.jpg –  Molly7244 Dec 28 '09 at 18:40
    
of course the same happens if i do the selections separately and want to apply strikethrough, no dice beyond the letter 'g'. –  Molly7244 Dec 28 '09 at 18:49
    
It's not like Word 2003 matters anyways, he's using 2007. Works fine: i48.tinypic.com/oj2u11.png . You probably have some weird portable version. Try using tabs instead of spaces? –  John T Dec 28 '09 at 18:53

Your Answer

 
discard

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