How to Remove Extra Space Above Images in Microsoft Word
Question details
The user needs to eliminate unwanted vertical space that appears directly above images inserted into a Microsoft Word document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Adjusting the layout and formatting of a document where inserted images are preceded by large, unexplained blank gaps.
- Observed behavior
- An unexpected gap or extra space appears above the image, which cannot be deleted like standard text, often caused by conflicting wrap styles, paragraph spacing, or line height.
Enable the 'Show/Hide ¶' formatting marks in the Home tab to verify if hidden paragraph returns or line breaks are causing the extra space before modifying the image properties.
Adjust Paragraph and Line Spacing Settings
When an image is set to 'In Line with Text', Word treats it as a large character. Removing paragraph spacing usually eliminates the gap.
If your image is acting like a standard line of text, any paragraph spacing applied to that specific line will directly affect the space above and below the image. Resetting these values is the most common fix.
Click once on the image that has the unwanted space above it to select it.
Go to the 'Home' or 'Layout' tab on the ribbon and click the small dialog box launcher arrow in the bottom-right corner of the Paragraph group.
Under the 'Spacing' section, set both 'Before' and 'After' to 0 pt. Change the 'Line spacing' dropdown to 'Single', then click 'OK'.

Change the Image Text Wrapping Style
Switching the image from an inline layout to a floating layout detaches it from the paragraph spacing rules, allowing free positioning.
Adjust the Object Anchor
For floating images, an improperly placed object anchor can force the image to inherit spacing from a different paragraph, creating an unexpected gap.
Fix Document Image Spacing Easily with WPS Writer
WPS Office provides highly intuitive image layout controls. You can effortlessly adjust paragraph spacing and modify text wrapping to align your images perfectly, without struggling with unexpected formatting gaps.
- 1. Open Your Document: Launch WPS Writer and open the document containing the problematic image.
- 2. Adjust Layout Options: Click on the image. Use the quick layout menu on the right side to easily switch between 'In Line with Text' and floating wrapping styles.
- 3. Zero Out Paragraph Spacing: Right-click the image (if inline), select 'Paragraph', and quickly set 'Spacing Before' and 'After' to 0.
- 4. Save Changes: Your layout will be seamlessly saved in .docx format, maintaining perfect compatibility.

Frequently Asked Questions
Why does a large blank space appear at the top of the page when I insert an image?
This usually happens when an image is set to 'In Line with Text' and the paragraph it resides in has large 'Space Before' settings, or the image is too large to fit on the previous page and gets pushed down.
How do I view hidden formatting marks causing spaces?
Navigate to the Home tab and click the 'Show/Hide ¶' icon. This reveals hidden paragraph breaks (¶) or empty lines that might be pushing your image down.
Does changing the object anchor delete the image?
No, moving the object anchor simply changes which paragraph the image is logically attached to. It ensures the image stays on the same page as its relevant text when the document is edited.
Can I lock an image's position so it doesn't move when I add text?
Yes. After setting a text wrapping style (like 'Square'), select the image, click 'Layout Options', choose 'See more', and under the Position tab, check the 'Lock anchor' box.




