How to Align Pictures, Borders, and Text in Word Documents
Question details
The user needs to perfectly align framed pictures or screenshots with paragraph margins and ensure they move with the surrounding text.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Following a documentation style guide that requires precise layout rules for images, borders, and text.
- Observed behavior
- Pictures and borders must sit accurately within or slightly outside margins, follow intended formatting styles, and stay anchored to text without disrupting the document's flow.
Ensure your document's rulers and formatting marks are visible so you can accurately see paragraph margins, indents, and image anchors.
Use In-Line Text Wrapping and a One-Cell Table
This method ensures images perfectly follow paragraph spacing and margins without floating or jumping out of place.
By setting the picture in line with text and housing it inside a one-cell table, you gain precise control over margins, padding, and borders without affecting the surrounding paragraph text alignment.
Go to the 'Insert' tab and add your screenshot or picture. Click the picture, go to 'Picture Format', click 'Wrap Text', and select 'In Line with Text'.
Insert a one-cell table from the 'Insert' tab and drag your picture inside it. Apply a border to the table cell by selecting it and using the Borders tool on the Home tab.
Right-click the table, select 'Table Properties', and adjust the cell margins, indents, and padding so the outer border aligns exactly with your document's text margins.
Select the finalized table layout, go to 'Insert' > 'Quick Parts', and save the selection to the Quick Part Gallery to quickly reuse this style later.

Apply Paragraph Borders Directly to Images
If you prefer not to use tables, you can apply paragraph borders directly to an in-line image to create a framed effect.
Effortlessly Align Images and Text with WPS Office
WPS Office Writer provides highly intuitive tools to manage picture layouts, text wrapping, and page margins. It perfectly preserves advanced layouts and is fully compatible with Microsoft Word, making document formatting stress-free.
- 1. Open Your Document: Launch WPS Writer and open your existing document or create a new one.
- 2. Insert and Wrap Image: Insert your image, click the 'Layout Options' icon floating next to it, and select 'In Line with Text'.
- 3. Add a Border: Navigate to the 'Home' tab to easily apply paragraph borders or insert a one-cell table.
- 4. Fine-tune Margins: Use the 'Page Layout' tab and ruler tools to accurately set your margins and padding.

Frequently Asked Questions
Why does my picture jump to the next page when I type text?
This usually happens if the text wrapping is set to a floating option (like Square or Tight) and is anchored to a different paragraph. Setting the wrap to 'In Line with Text' ensures the image flows naturally with your typing and stays precisely where you put it.
How do I make a picture border align perfectly outside my text margins?
The most reliable way is to place the in-line picture inside a one-cell table. Apply the border to the table, then open Table Properties and adjust the left and right indents (often using a negative value) so the table border sits slightly wider than the standard paragraph margins.
Can I save this picture and border layout to use as a template later?
Yes. Once you have formatted the picture, borders, and margins exactly as needed, select the entire block, go to the Insert tab, and save it as a Quick Part or AutoText entry. This allows you to insert it with identical formatting anywhere else in the document.




