Fix Navigation Icons Shifting When Exporting Publisher to HTML
Question details
The user needs to prevent navigation icons from shifting out of position when exporting a document to HTML format.

- 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 making structural layout changes, ensure you are working on a duplicate copy of your publication to preserve your original design.
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.
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.
Look closely at the navigation icons that shifted. Check if their dotted boundary lines intersect with nearby text boxes, shapes, or other images.
Click and drag the affected icons slightly away from neighboring elements to ensure clear empty space between all bounding boxes.
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.

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. Download and install: Get WPS Office for free from the official website and install it on your device.
- 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. Export as web page: Navigate to 'Menu', choose 'Save As', and select 'Web Page' to create a clean, accurately rendered HTML file.

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.




