Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word Tables

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-03-2018, 01:13 PM
Sam_Bklyn Sam_Bklyn is offline Windows XP Office 2003
Novice
 
Join Date: Dec 2010
Posts: 5
Sam_Bklyn is on a distinguished road
Default Can't get rid of gap below shape in table cell

Hello, I have inserted an shape (triangle) as an inline image into a table cell hoping that it would align with the very bottom of the cell. The bottom border of the cell/table is the same color as the shape, and I want them to appear seamless. I don't need text to appear over or behind the shape.

Anyway, there's always this very thin gap where the background color of the cell shows through. Here's how I have everything set up:

Table Cell Alignment: Align Bottom Left
Table Cell margins: 0,0,0,0
Paragraph > Spacing > Before/After: 0,0



I can't do anything with positioning, which is grayed out (since it's an inline image). The reason I wanted inline is so that the image is contained within the table and I don't have to keep adjusting it when I change the table's size or move it. All of this is really just to make a more functional table version of a text box. Any ideas how to adjust this? Any workarounds? Thanks in advance.
Attached Images
File Type: png word_table_gap.PNG (2.7 KB, 17 views)
Reply With Quote
  #2  
Old 10-03-2018, 02:43 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,109
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

The apparent gap may be no more than a display limitation. Try turning off the table gridline display.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 10-04-2018, 08:37 AM
Sam_Bklyn Sam_Bklyn is offline Windows XP Office 2003
Novice
 
Join Date: Dec 2010
Posts: 5
Sam_Bklyn is on a distinguished road
Default

Thanks macropod. That didn't work, unfortunately.

I tried rotating the image and flipping the background color to see if I could obviate the need to get rid of that gap, but then I noticed that an identical gap also appears at the top of the cell. In the end, it looks like Word always places a buffer around inline images in cells (unlike, say, html tables).

In experimenting, I found that if I use a jpeg instead of a shape, I can get rid of the vertical padding, but no matter what there's still a thin strip on the right side where the background shows through. Anyway, this seems like a rather annoying flaw... my task here is maybe sort of rare, but what if I wanted to use a 1x2 table to caption a photo, with the caption area a) shaded and b) the same width as the photo? Even if I make the background of the photo cell the same shade as the document background, the caption cell still overhangs by like a pixel. (See the pink line on the right in my attached picture as an example.)
Attached Images
File Type: png mustache.PNG (263.1 KB, 12 views)
Reply With Quote
  #4  
Old 10-04-2018, 01:38 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,109
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

I suspect that's just a display artefact. I see something similar @ multiples of 180% zoom on my laptop, but not at other zoom levels. Does it affect the printout?
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Tags
padding, shapes, tables

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Aligning shape with indents of a preceeding table Zon Tahtil Word 0 05-25-2017 03:52 PM
Automatically adjusting shape to cell, or any other equivalent solution pixazih Drawing and Graphics 1 03-02-2017 04:20 AM
Link Shape to Table in PowerPoint Anarchus PowerPoint 1 10-06-2016 01:19 PM
Move table cell contents from one table to another table or cell in same table donaldadams1951 Word VBA 4 02-04-2015 03:54 PM
can i format the shape of a table border? jeffk Word Tables 4 07-14-2012 06:29 AM


All times are GMT -7. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft