How to Set a Fixed Width for One Word Table Cell Only
Question details
The user needs a fixed-width page-number section in a document header while allowing other sections to resize dynamically based on chapter titles.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating a complex document header using a three-column table with mixed formatting and fixed/dynamic column sizing requirements.
- Observed behavior
- Setting fixed widths on the table causes longer chapter numbers to wrap incorrectly, and merging cells is not possible because the cell borders differ.
Ensure your document header is unlocked and fully visible by double-clicking the top margin of your page before adjusting table or paragraph properties.
Use Tab Stops and Character Styles Instead of a Table
This is the most reliable workaround when table cells restrict your layout. Using a standard paragraph with tabs prevents unwanted text wrapping and layout limitations.
Word processors often treat tables rigidly. When borders differ and merging isn't possible, replacing the table with a formatted paragraph using tab stops is the best approach to achieve the desired header design.
Select the header table and convert the table to text, or delete it entirely and retype your header content into a standard single paragraph.
Highlight only the page number text. Go to the Home tab, click the Borders dropdown, select 'Borders and Shading', and ensure 'Apply to' is set to 'Text' (Character Style) to add a box just around the number.
Click on the horizontal ruler at the top of the document to set custom tab stops. Use a left or center tab stop to properly position the chapter number and title without restricting their horizontal width.

Adjust Specific Table Cell Properties
If you must keep the table layout, you can attempt to lock the specific cell's width while disabling automatic table resizing.
Easily Format Complex Headers with WPS Writer
WPS Writer offers intuitive tools for managing document headers, tables, and tab stops, allowing you to easily create professional layouts without restrictive formatting constraints.
- 1. Open your document: Launch WPS Writer and double-click the header area at the top of the page to activate the header and footer tools.
- 2. Set up paragraph tabs: Use the visual ruler at the top of the workspace to click and place tab stops for your dynamic chapter titles.
- 3. Customize text borders: Select your page number text, go to the Home tab, and use the Borders and Shading tool (applied to Text) to format individual elements perfectly.

Frequently Asked Questions
Why is my table cell wrapping text instead of expanding?
By default, table cells with a fixed preferred width will wrap the text to the next line when it exceeds the horizontal boundary. You need to disable preferred widths or use paragraph tabs if dynamic expansion is required.
Can I apply a border to just one word instead of the whole paragraph?
Yes, highlight the specific word, navigate to the Borders and Shading menu, and ensure the 'Apply to' dropdown is set to 'Text' rather than 'Paragraph'.
How do I stop my Word table from automatically resizing?
Right-click the table, select Table Properties, go to Options on the Table tab, and uncheck 'Automatically resize to fit contents'.




