r/word • u/Miserable_Koala_9295 • 13h ago
Gradient text box inside a table cell leaves white gap on the left and right (cell margins are 0)
I'm building a timeline in Word using a table: a blue column in the middle with years or numbers, and entries on the left and right. Word doesn't support gradient fills for table cells, so I faked it by placing a text box with a gradient fill inside each cell, anchored to the cell's paragraph.
The problem: the text box never fills the cell exactly. I get white space on the left and right sides of the box, and sometimes a gap at the bottom. In some rows the box sits tight against the blue column, in others there's a visible white strip (see screenshot).
What I've already tried:
- Cell margins set to 0 on all sides (Table Layout > Cell Margins)
- "Allow spacing between cells" is off
- Table borders set to "No Border"
- Text box position set to align left/top relative to Column/Paragraph
- Wrapping set to In Front of Text / Behind Text
- Wrap text distance set to 0
- Removed the extra empty paragraph in the cell where possible (it pushes the box down)
My questions:
- How do I make the text box fit the cell exactly, with no white gap?
- Is there a better way to get a gradient background behind a table cell in Word?
- Is there a way to make the text box resize automatically with the cell?
Any tips are appreciated, thanks!