logo
search
File Format & Compatibility

Fix Navigation Icons Shifting When Exporting Publisher to HTML

Maira MehtabMaira Mehtab Sep 28, 2026 869 views

Question details

The user needs to prevent navigation icons from shifting out of position when exporting a document to HTML format.

How to Fix Navigation Icons Shifting During Publisher HTML Export
Product
Microsoft Publisher
Device & OS
not provided
Scenario
Exporting a designed publication to an HTML file for web viewing.
Observed behavior
Navigation icons and linked images move significantly from their original positions in the exported HTML, despite appearing properly aligned in the editor.
Before you start

Before making structural layout changes, ensure you are working on a duplicate copy of your publication to preserve your original design.

Solution 1Recommended

Adjust Element Spacing and Inspect Boundaries

Fix overlapping bounding boxes that cause the HTML converter to misplace elements.

When converting a print-focused layout to HTML, the rendering engine attempts to translate absolute positioning into web-safe blocks. If bounding boxes of text or image elements overlap even slightly, the converter may push elements away from each other, resulting in drastically shifted icons.

1
Enable layout boundaries

Open your document, navigate to the 'View' tab on the top ribbon, and check the box for 'Boundaries' to reveal the invisible edges of all elements.

2
Inspect overlapping elements

Look closely at the navigation icons that shifted. Check if their dotted boundary lines intersect with nearby text boxes, shapes, or other images.

3
Reposition the icons

Click and drag the affected icons slightly away from neighboring elements to ensure clear empty space between all bounding boxes.

4
Re-export to HTML

Go to 'File', select 'Export' or 'Save As', choose the HTML format, and save the file. Open the new HTML file in your web browser to verify the icons are correctly placed.

Adjust Element Spacing and Inspect Boundaries
HTML Limitations: Complex print layouts often do not translate perfectly to HTML. Grouping elements together in the editor does not always prevent them from shifting during the HTML conversion process.
Free Microsoft Office alternative

Create Web-Ready Documents with WPS Office

If you frequently encounter layout issues when exporting documents in Microsoft Office, consider trying WPS Office. It offers a highly compatible, free, and lightweight suite of tools, including WPS Writer, which provides precise object placement and seamless web page exporting capabilities.

  1. 1. Download and install: Get WPS Office for free from the official website and install it on your device.
  2. 2. Design your document: Open WPS Writer and use the intuitive insert tools to place images, shapes, and text exactly where you want them without overlap issues.
  3. 3. Export as web page: Navigate to 'Menu', choose 'Save As', and select 'Web Page' to create a clean, accurately rendered HTML file.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Precise layout controls and boundary snapping for professional document design.Free, lightweight, and fast-loading across multiple operating systems.Built-in tools for seamless exporting to PDF, HTML, and picture formats.
microsoft office alternative - wps office

Frequently Asked Questions

Why do grouped elements shift when saved as HTML?

HTML handles grouping differently than document editors. The conversion process often breaks groups down into individual HTML elements, which can then be shifted by the browser's layout engine if they lack proper web alignment tags.

Can I prevent images from moving by anchoring them?

Yes. Anchoring an image to a specific paragraph of text can help maintain its relative position when the document is exported to a flowing format like HTML.

How do bounding boxes affect HTML conversion?

Bounding boxes represent the total rectangular area an element occupies. If the bounding box of an image intersects with a text block, the HTML exporter might push the image to a new line to avoid content overlapping on the webpage.