# Formatting Headers or Footers

/text/swriter/guide/header_with_line.xhp
inserting;lines under headers/above footers
lines; under headers/above footers
headers;formatting
footers;formatting
shadows;headers/footers
borders;for headers/footers
MW changed "inserting;"
Formatting Headers or Footers
You can apply direct formatting to the text in a header or footer. You can also adjust the spacing of the text relative to the header or footer frame or apply a border to the header or footer.
- Choose Format - Page and select the Header or Footer tab.
- Set the spacing options that you want to use.
- To add a border or a shadow to the header or the footer, click More. The Border/Background dialog opens.
- To add a separator line between the header or the footer and the content of the page, click the bottom edge of the square in the Line arrangement area. Click a line style in the Style box.
- To adjust the spacing between the content of the header or footer and the line, clear the Synchronize box, and then enter a value in the Bottom box.