logo
search
Formatting Issues

How to Align Pictures, Borders, and Text in Word Documents

Nimra MalikNimra Malik Oct 9, 2026 871 views

Question details

The user needs to perfectly align framed pictures or screenshots with paragraph margins and ensure they move with the surrounding text.

How to Align Pictures, Borders, and Text in Word Documents
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.
Before you start

Ensure your document's rulers and formatting marks are visible so you can accurately see paragraph margins, indents, and image anchors.

Solution 1Recommended

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.

1
Insert the Picture In-Line

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'.

2
Create a Framing Table

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.

3
Adjust Cell Margins

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.

4
Save as a Building Block

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.

Use In-Line Text Wrapping and a One-Cell Table
Pro Tip: Testing the layout with actual headings, page breaks, and indents used in your document will ensure it behaves properly when new content is added.
Seamless Word Formatting

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. 1. Open Your Document: Launch WPS Writer and open your existing document or create a new one.
  2. 2. Insert and Wrap Image: Insert your image, click the 'Layout Options' icon floating next to it, and select 'In Line with Text'.
  3. 3. Add a Border: Navigate to the 'Home' tab to easily apply paragraph borders or insert a one-cell table.
  4. 4. Fine-tune Margins: Use the 'Page Layout' tab and ruler tools to accurately set your margins and padding.
Easily set pictures to 'In Line with Text' for stable, professional layoutsHighly compatible with Microsoft Word (.docx) formats and stylesIntuitive table and border adjustments via a clean interfaceLightweight, fast, and completely free to use
microsoft office alternative - wps office

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.