Microsoft Office Forums Can't get rid of gap below shape in table cell

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2018, 01:13 PM
Sam_Bklyn Sam_Bklyn is offline Can't get rid of gap below shape in table cell Windows XP Can't get rid of gap below shape in table cell Office 2003
Novice
Can't get rid of gap below shape in table cell
 
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, 18 views)
Reply With Quote
  #2  
Old 10-03-2018, 02:43 PM
macropod's Avatar
macropod macropod is offline Can't get rid of gap below shape in table cell Windows 7 64bit Can't get rid of gap below shape in table cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,533
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 Can't get rid of gap below shape in table cell Windows XP Can't get rid of gap below shape in table cell Office 2003
Novice
Can't get rid of gap below shape in table cell
 
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, 13 views)
Reply With Quote
  #4  
Old 10-04-2018, 01:38 PM
macropod's Avatar
macropod macropod is offline Can't get rid of gap below shape in table cell Windows 7 64bit Can't get rid of gap below shape in table cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,533
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
Can't get rid of gap below shape in table cell Automatically adjusting shape to cell, or any other equivalent solution pixazih Drawing and Graphics 1 03-02-2017 04:20 AM
Can't get rid of gap below shape in table cell Link Shape to Table in PowerPoint Anarchus PowerPoint 1 10-06-2016 01:19 PM
Can't get rid of gap below shape in table cell 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 06:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft