# Defining Borders for Pages

/text/swriter/guide/border_page.xhp
pages;defining borders
borders; for pages
frames; around pages
defining;page borders
MW deleted "adding;"
Defining Borders for Pages
In Writer, you define borders for page styles, not individual pages. All changes made to borders apply to all pages that use the same page style. Note that page style changes cannot be undone by the Undo function in $[officename].
To Set a Predefined Border Style
- Choose Format - Page - Borders.
- Select one of the default border styles in the Default area.
- Select a line style and color for the selected border style in the Line area. These settings apply to all border lines that are included in the selected border style.
- Select the distance between the border lines and the page contents in the Spacing to contents area.
- Click OK to apply the changes.
To Set a Customized Border Style
- Choose Format - Page - Borders.
- In the User-defined area select the edge(s) that you want to appear in a common layout. Click on an edge in the preview to toggle the selection of an edge.
- Select a line style and color for the selected border style in the Line area. These settings apply to all border lines that are included in the selected border style.
- Repeat the last two steps for every border edge.
- Select the distance between the border lines and the page contents in the Spacing to contents area.
- Click OK to apply the changes.