Word: can I override margin settings for one image in a table cell?

I'd like to override the margin settings for one cell in a table, to be able to put an image right up against the border of the cell. The following two links go to images showing exactly what I'd like to do:

Image well within the cell:

Image against the border of the cell, despite the text having a nice margin. This is what I would like to do:

Any help is appreciated!
--Steve D.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Several factors might be relevant to your situation.

There are, of course the cell margins settings themselves.

You might also want to fix the cell width and height. Use the Options button on the Table tab of the Table Properties dialogue, and remove the tick from the 'Automatically resize to fit contents' checkbox. This will prevent the column width from widening to accommodate the text. For the height, choose the Row tab and tick the 'Specify height checkbox.

Lastly, use the Text Wrapping button on the Picture Tools/Format tab of the ribbon to select the best setting for your situation.
Here are two ways to achieve what you want (See attached). The first way uses a text box to hold the image and then is move to align it with the edge of the table. The second method sets the cell margin to 0.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
StevenMilesAuthor Commented:
Thanks, Flyster,

Looks like we're very close. The text box idea will almost certainly work. There's still one problem, though:

The big cells that the images will appear in have padding, so that the text paragraphs don't touch the borders of the cells. Here's the table-with-text-box-containing-an-image that I made, similar to your .docx:

The problem I'm having is that the text box (and enclosed image) can be moved to the right so that the image appears to abut the right border of the cell, but it can't be moved *up* so that the image appears to abut the top border of the cell.  At least according to my experimentation, the top padding of the cell puts a limit on how far up the text box can be moved.

Am I right about that?  Can you open my file and move the text box up so the image is closer to the top border of the cell?  I have to say, the "Advanced Layout" dialog box is not very intuitive at all, and I could find no help anywhere that explains clearly all of the options in that box.

If you can show me how to move the image up higher than the padding of the cell, I'd be grateful.  By the way, I won't be able to put the image in its own row, as you demonstrated in the second and third examples of your .docx file.

PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Change the 'Text Wrapping' of the picture (Picture Tools/Format tab) to 'In Front of of text'. You can then drag the picture anywhere.
As GrahanSkan suggested, Text Wrapping was changed to "In Front of Text". Also, transparency was changed to 100%. This allows you to align the image to the border while the text box slightly exceeds the border.
StevenMilesAuthor Commented:
Okay, I'm understanding better. However, if I change Text Wrapping to "In Front of Text", then I can't have the text wrap!  See this page, without a heading line:


Can I have it both ways?  Also, do any of the Advanced Layout let me position the text box with respect to the margins of the cell? Bottom, top, left, or right margins of the big cell?

You can if  you choose something like square wrapping and you reduce the cell margins to 0.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.