How to draw a diagonal header in a Word table
Explain the three ways to draw diagonal headers in Word tables, as well as how to write two titles on both sides of the diagonal line and how to align them. It is suitable for people who make forms, registration forms and application forms, just follow the steps.
Key points of this article
- You can directly add a diagonal line to the header cell using the slash option in the border. This is a trouble-free method and is suitable for most forms.
- The two titles on both sides of the slash are usually aligned using "space and newline". You can also use two text boxes to position each one more stably.
- The border diagonal line can only draw one line within the cell. When there are multiple diagonal lines or the position is special, use hand-drawn straight lines.
- After drawing, check whether the slashes fit the corners of the cells, whether the titles are crowded by line breaks, and preview before printing.
When making registration forms, attendance sheets or transcripts, the upper left corner of the form is often marked with two titles: "Project" and "Month", separated by a slash in the middle. Many people can't find a place to write two titles directly in Word, so they can only force the text into a grid. As a result, the slashes and words are squeezed together, and the printout is also crooked.
This article is written for people who need to make slash headers in Word tables. After reading, you will know: how to add a slash to a cell, how to write on both sides of the slash, what to do when one line is not enough, and how to check after finishing.
The following methods are all completed within the built-in functions of Word and do not rely on additional plug-ins. If the document you have is a scan or other format and needs to be converted first, you can see the reminder below.
How to draw a diagonal line in the table header? One sentence conclusion
To add a slash to the header cell, use the built-in slash option in Word's border settings; adjust the position of the words on both sides of the slash with spaces and line breaks. If there is a lot of text or strict positioning requirements, change the text box.
| your situation | Recommended practices | reason |
|---|---|---|
| Just a diagonal line and two short titles | Add a slash in the border, and then use spaces and line breaks to position it | Fewer steps and the table structure is not disrupted |
| Title is long and needs precise alignment | Use two text boxes to place words separately in the cell | Text position is independent and not affected by space width |
| Requires two or more slashes | Use the freehand straight line tool to overlay the cells | Border options usually only provide a slash |
| The table needs to be converted into other formats before use. | Finalize the Word version first, then export or convert | Slant lines are easily misplaced after conversion, so finalizing them first is more stable. |
Before you start: Confirm these points first
Confirm whether the header is an independent cell. Slashes can only be drawn on a single cell. If the table header is composed of two cells, split the merge first, otherwise the slash will pass through multiple cells and it will not look like the table header.
Confirm the length of both titles. Titles of two words or three or four words are suitable for positioning with spaces; if the title exceeds five or six words, the cell width will be very tight. It is recommended to adjust the column width or use a text box instead.
Confirm the direction and number of slashes. Common forms use a diagonal line from the upper left to the lower right, which is the effect of a "slanted lower frame". If two diagonal lines are needed to separate three titles, the border option is generally not available and must be drawn by hand.
Confirm Word version. The location of the border menu is slightly different in different versions, but there will always be slash options or border drawing tools. If you can't find it, first search for "slash"-related words in the border settings, and then consider hand-drawing.
Confirm subsequent use of form. If the form is to be printed and filled out, the diagonal lines should be drawn slightly thicker to make it easier to see; if it is only used on the screen, a thin line will suffice.
Steps to add slash to header in Word table
- Open the document and locate the table. Find the table that requires a slash header, and place the cursor in the header cell in the upper left corner.
- Select the cell. Use the mouse to drag the entire cell, or place the cursor inside the cell and use table-related selection methods to ensure that only this cell is selected.
- Open the border settings. Find the border option in the border-related menu of the table tool. There is usually a "Borders and Shading" or similar entry.
- Select diagonal border. Find the slash style in the border settings and select the one from upper left to lower right. At this time, a diagonal line should appear in the cell in the preview.
- Select line style and thickness. Just keep the line type as a solid line. It is recommended to choose a slightly thicker thickness to make it clearer after printing. If it only applies to the current cell, be sure to select "Cell" for the application range and do not apply to the entire table.
- Enter the first title after confirmation. Close the settings and enter a title in the upper left corner of the cell, such as "Project".
- Place the second title with spaces and line breaks. Press Enter after the first title to change the line, then use a space to push the cursor to the right, and enter the title in the lower right corner, such as "Month". The number of spaces needs to be tried again and again until the two titles fall on both sides of the slash.
- Check cell height. If two titles are squeezed together, increase the line height appropriately to allow space for the text above and below.
How to write two titles on both sides of the slash
The text on both sides of the slash looks simple, but is actually prone to problems. There are two common approaches, each with its own applicable scenarios.
Method 1: Add spaces and newlines. The first title is placed on the left and placed on the first row of the cell; the second title is placed on the second row and pushed to the right by spaces. This method requires no additional objects, the table structure is clean, and fits two short titles. The disadvantage is that the space width is fixed. After changing the font size or column width, the position needs to be readjusted.
Method 2: Two text boxes. Insert two text boxes above the header cell, one for the upper left title and one for the lower right title. Drag each to the appropriate position. Set the text box background to no fill and no outline. In this way, the positions of the two titles are completely independent, making adjustment more intuitive. The disadvantage is that the text box is a floating object. If the table is moved as a whole or paged, the text box may be misaligned and needs to be checked before finalization.
If the table is only used for screen reading, both methods are fine; if it is to be printed or handed over to others for repeated editing, spaces and line breaks are more worry-free.
What to do when the slash cannot be drawn or is in the wrong position
Sometimes the slash option is not visible in the border settings, or the slash only takes up part of the drawing. At this time, you can draw a straight line by hand: select the straight line in the insert shape, drag a line from the upper left corner to the lower right corner of the cell, and align the line with the corner of the cell. The advantage of hand-drawn lines is that you can draw multiple lines and change the angle at will; the disadvantage is that if the column width of the table is adjusted, the lines will not automatically change and need to be realigned.
If there are multiple diagonal lines, it is recommended to first fix the row height and column width of the header cells, then draw the lines in sequence, and finally check the positions uniformly.
After completion, check each item one by one
After finishing the slash header, don’t hand it over just by looking at the screen. Check it item by item according to the table below.
| Inspection items | How to see it | What should you do if there's a problem? |
|---|---|---|
| Check if the slashes fit the cells | Zoom in on the view to see if both ends of the line reach the upper left and lower right corners of the cell | Adjust the cell margins, or use hand-drawn lines to realign them |
| Are the two titles separated on either side of the diagonal line? | Compare the diagonal lines to see if the top-left headline and bottom-right headline are on one side | Increase or decrease the number of spaces, or switch to a text box |
| Whether the text is cluttered with line breaks | Check the meter header row height and whether the text is fully displayed | Increase line height or reduce font size |
| Check if other cells are affected | Check whether the borders and contents of adjacent compartments have changed | After undoing, only the target cell is reset |
| Check whether the print quality is clear | Use the print preview to view slashes and text | Bold the lines, or adjust the title size to remain clear after printing |
📊 Core Comparison
| painting method | Difficulty of operation | Suitable situation | Main limitations |
|---|---|---|---|
| Border diagonal lines | Low | Single slash, two short headings | Usually, only one line can be drawn |
| Space and line breaks for positioning | Low | Titles are few words, and tables are rarely changed | After changing the number or listing a leniency, it must be re-adjusted |
| Two text boxes | Middle | The title is long, and precise positioning is required | Floating objects; checks must be made when the table moves |
| Hand-drawn straight lines | Middle | Multiple diagonal lines and special angles | When column width changes, the lines will not automatically follow |
❓ Frequently Asked Questions (FAQ)
1. How to draw a diagonal line in a Word table and split it into two to write content?
First, add a diagonal border to the header cells, then use spaces and line breaks to place the two headers on either side of the slashes. If the position is not accurate, use two text boxes for separate positioning, which is more stable.
2. Can the slash meter header only write two characters?
It's not limited to two characters, but the more words there are, the more crowded the cells. If the title exceeds four or five characters, it's recommended to widen the column or increase the line height, or break the title shorter.
3. The diagonal lines in the Word table are done, but why does the text look crooked after printing?
Most often, the number of spaces is displayed inconsistently between the screen and the print, or the font size has not been rearranged after being changed. Before printing, use the print preview to check, then fine-tune the position of spaces or text boxes.
4. If the table needs to be translated into another language, will the slashed table header be lost?
OmniDoc supports translating Word documents and allows you to choose bilingual or translation-only while preserving the table structure. However, the length of text on both sides of the translated slashes may vary. After downloading, you still need to check the position, and important content must be checked for accuracy. Machine translation inevitably has omissions.
📝 Summary
The key to the diagonal header of a Word table is to first draw the slash on a single cell, then arrange the titles on both sides with spaces, line breaks, or text boxes. After drawing, check whether the lines fit well, the text is squeezed, and the print is clear. Then the form can be used normally.


