Reply
 
Thread Tools Display Modes
  #1   Report Post  
 
Posts: n/a
Default Mystery cell border

I have a very simple table - 2 cells (2 rows, 1 column). The top cell
has a shaded background and the bottom row contains an inline image.
What I want is for the inline image to fill the cell exactly such that
it looks like the top shaded cells is a title to the image.

I used VBA to set the image width to that of the cell its within.
However, upon query the exact dimensions I find that the image is 0.1
points short of the actual cell width (226.75 vs 226.85). Trying to
force the image the exact 0.1 doesn't work. What's curious is if I set
the image width so 226.9, Word actually sets it to 227.25.

So it almost seems like Word is inserting a border that is taking up
extra space. The discrepancy I'm talking about isn't very noticeable in
Word but when I distill the Word document to a pdf there is a very
obvious space around the image.

There's no borders around the cells or the image. The cell margins are
set to 0. The allow specing box is unchecked in the table properties.
The paragraph spacing for the cell is set to 0 and the font is 1pt
Times New Roman.

Where is this mystery setting coming from and can I do anything about
it?

TIA

Craig

  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

Have you set the cell margins to 0?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
wrote in message
oups.com...
I have a very simple table - 2 cells (2 rows, 1 column). The top cell
has a shaded background and the bottom row contains an inline image.
What I want is for the inline image to fill the cell exactly such that
it looks like the top shaded cells is a title to the image.

I used VBA to set the image width to that of the cell its within.
However, upon query the exact dimensions I find that the image is 0.1
points short of the actual cell width (226.75 vs 226.85). Trying to
force the image the exact 0.1 doesn't work. What's curious is if I set
the image width so 226.9, Word actually sets it to 227.25.

So it almost seems like Word is inserting a border that is taking up
extra space. The discrepancy I'm talking about isn't very noticeable in
Word but when I distill the Word document to a pdf there is a very
obvious space around the image.

There's no borders around the cells or the image. The cell margins are
set to 0. The allow specing box is unchecked in the table properties.
The paragraph spacing for the cell is set to 0 and the font is 1pt
Times New Roman.

Where is this mystery setting coming from and can I do anything about
it?

TIA

Craig



  #3   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

There's no borders around the cells or the image. The cell margins are
set to 0.


--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Doug Robbins" wrote in message
...
Have you set the cell margins to 0?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
wrote in message
oups.com...
I have a very simple table - 2 cells (2 rows, 1 column). The top cell
has a shaded background and the bottom row contains an inline image.
What I want is for the inline image to fill the cell exactly such that
it looks like the top shaded cells is a title to the image.

I used VBA to set the image width to that of the cell its within.
However, upon query the exact dimensions I find that the image is 0.1
points short of the actual cell width (226.75 vs 226.85). Trying to
force the image the exact 0.1 doesn't work. What's curious is if I set
the image width so 226.9, Word actually sets it to 227.25.

So it almost seems like Word is inserting a border that is taking up
extra space. The discrepancy I'm talking about isn't very noticeable in
Word but when I distill the Word document to a pdf there is a very
obvious space around the image.

There's no borders around the cells or the image. The cell margins are
set to 0. The allow specing box is unchecked in the table properties.
The paragraph spacing for the cell is set to 0 and the font is 1pt
Times New Roman.

Where is this mystery setting coming from and can I do anything about
it?

TIA

Craig




  #4   Report Post  
Klaus Linke
 
Posts: n/a
Default

Might be rounding errors.=20
0.1 pt is about 0.03 mm... much too small to see.=20

And if you're inserting a picture, I wouldn't be surprised if Word could =
not scale it *quite* arbitrarily with arbitrary precision.

DTP programs usually don't even try to achieve such arbitrary precision =
scaling.=20
Instead they have you put the picture in a box, and then cut off =
whatever exceeds that box.
=20
Greetings,
Klaus


"Suzanne S. Barnhill" wrote:
There's no borders around the cells or the image. The cell margins =

are
set to 0.

=20
--=20
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the =

newsgroup so
all may benefit.
=20
"Doug Robbins" wrote in message
...
Have you set the cell margins to 0?

--=20
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
wrote in message
oups.com...
I have a very simple table - 2 cells (2 rows, 1 column). The top =

cell
has a shaded background and the bottom row contains an inline =

image.
What I want is for the inline image to fill the cell exactly such =

that
it looks like the top shaded cells is a title to the image.

I used VBA to set the image width to that of the cell its within.
However, upon query the exact dimensions I find that the image is =

0.1
points short of the actual cell width (226.75 vs 226.85). Trying to
force the image the exact 0.1 doesn't work. What's curious is if I =

set
the image width so 226.9, Word actually sets it to 227.25.

So it almost seems like Word is inserting a border that is taking =

up
extra space. The discrepancy I'm talking about isn't very =

noticeable in
Word but when I distill the Word document to a pdf there is a very
obvious space around the image.

There's no borders around the cells or the image. The cell margins =

are
set to 0. The allow specing box is unchecked in the table =

properties.
The paragraph spacing for the cell is set to 0 and the font is 1pt
Times New Roman.

Where is this mystery setting coming from and can I do anything =

about
it?

TIA

Craig




  #5   Report Post  
CraigB
 
Posts: n/a
Default

Problem is that whatever adobe distiller does when processing images
and tables this very small difference becomes quite noticeable.

My current plan is actually to set the image smaller than the cell size
and use a fill colour for the cell as the images should be using a
limted colour scheme.

Word doesn' t seem to very effective a 'cutting off' images larger than
the cell size

Cheers

Craig



  #6   Report Post  
kathryngriffin1962
 
Posts: n/a
Default

Highlight the table, choose "table properties," choose the tab that says
"table," then click on the "options" button at the bottom of the dialog box.
Your left and right borders are usually set for 0.08 inches. Change these to
"0" inches and see if that helps.

"CraigB" wrote:

Problem is that whatever adobe distiller does when processing images
and tables this very small difference becomes quite noticeable.

My current plan is actually to set the image smaller than the cell size
and use a fill colour for the cell as the images should be using a
limted colour scheme.

Word doesn' t seem to very effective a 'cutting off' images larger than
the cell size

Cheers

Craig


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Border fills more than one table cell FAP Tables 1 March 5th 05 04:59 PM
paragraph border suppressed in table cell essar Tables 2 March 4th 05 05:08 PM
runoff words in a cell Teacher_Becky Tables 3 January 27th 05 11:47 PM
word table cell resize or word table cell size change or word table change cell size [email protected] Tables 0 January 13th 05 09:55 PM
Why does the border around a page not print? Is on screen, does . WMock Tables 1 November 24th 04 10:19 PM


All times are GMT +1. The time now is 07:46 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"