A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

align table borders with text wrap on



 
 
Thread Tools Display Modes
  #1  
Old August 23rd, 2006, 04:00 PM posted to microsoft.public.word.tables
Ulophot
external usenet poster
 
Posts: 1
Default align table borders with text wrap on

Corporate reports often have something called a "callout" table, a small
table, perhaps 2.5 inches wide, accompanying a section headline, with some
pertinent text. With the table's text wrap-around on, and horizontal
alignment to margin or column, Word aligns the table's CONTENT, not the cell
borders, to the margin. Therefore, if the borders show or cells are filled
with tone, they clearly lie just outside the margin, looking sloppy.
The only way I can discover to solve this, is to set the cell padding to
zero. Even this doesn't actually work, as made clear by increasing the border
width to an appreciable weight, e.g., 3 pts.

Is there no way to align the outside of the cell border?
  #2  
Old August 24th, 2006, 12:52 PM posted to microsoft.public.word.tables
Stefan Blom
external usenet poster
 
Posts: 8,433
Default align table borders with text wrap on

Choose Table | Table Properties. After you've set the cell margin to
zero, do the following: Click the Table tab. Click the Positioning
button. At "Horizontal position," type the width of the border (in
this case: 3 pt), set "Relative to" to "Column," and click OK twice.

--
Stefan Blom
Microsoft Word MVP


"Ulophot" wrote in message
...
Corporate reports often have something called a "callout" table,

a small
table, perhaps 2.5 inches wide, accompanying a section headline,

with some
pertinent text. With the table's text wrap-around on, and horizontal
alignment to margin or column, Word aligns the table's CONTENT, not

the cell
borders, to the margin. Therefore, if the borders show or cells are

filled
with tone, they clearly lie just outside the margin, looking sloppy.
The only way I can discover to solve this, is to set the cell

padding to
zero. Even this doesn't actually work, as made clear by increasing

the border
width to an appreciable weight, e.g., 3 pts.

Is there no way to align the outside of the cell border?





  #3  
Old August 22nd, 2007, 11:00 PM posted to microsoft.public.word.tables
Ken
external usenet poster
 
Posts: 954
Default align table borders with text wrap on

This works for tables only if they are left-aligned. For right-aligned
tables, you have to manually calculate the text area width (page width minus
margins) and subtract the table width from that to determine how far from the
left margin you need to be. In that case I hope you specified the column
width so you know exactly how wide your table is.

The only tables which seem to let you align vertical borders with margins
are centered inline tables which span the whole text area (which kind of
defeat the purpose here).

It's even worse for vertical alignment with the margins. Positioning a
table "bottom" relative to the margin works if you don't justify text
vertically. If you do, it's hit or miss as to whether or tables will align
relative to the margin or relative to some other unknown position. So you
have to use absolute positioning, again manually subtracting the table height
from the text area. The horizontal borders seem to align (whereas vertical
borders require including cell margins and border thickness). However, since
there is no way to define a table height I've found that I need to draw a
line the height of the table and get the line's length to measure the table
height. (don't even get me started on Word not aligning text to the margins
even when vertically justified which makes it impossible to have text and
tables aligned at the bottom of a page).

So the workaround above is very limited and the broader question remains,
how to get Word to align tables to borders (so that you don't have to
statically set the margins, table sizes, and positions in order to align the
table)? This should be very easy to do. I can't imagine any reason to align
the table based on anything other than the border.

"Stefan Blom" wrote:

Choose Table | Table Properties. After you've set the cell margin to
zero, do the following: Click the Table tab. Click the Positioning
button. At "Horizontal position," type the width of the border (in
this case: 3 pt), set "Relative to" to "Column," and click OK twice.

--
Stefan Blom
Microsoft Word MVP


"Ulophot" wrote in message
...
Corporate reports often have something called a "callout" table,

a small
table, perhaps 2.5 inches wide, accompanying a section headline,

with some
pertinent text. With the table's text wrap-around on, and horizontal
alignment to margin or column, Word aligns the table's CONTENT, not

the cell
borders, to the margin. Therefore, if the borders show or cells are

filled
with tone, they clearly lie just outside the margin, looking sloppy.
The only way I can discover to solve this, is to set the cell

padding to
zero. Even this doesn't actually work, as made clear by increasing

the border
width to an appreciable weight, e.g., 3 pts.

Is there no way to align the outside of the cell border?






  #4  
Old August 23rd, 2007, 01:49 PM posted to microsoft.public.word.tables
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default align table borders with text wrap on

It would be considerably more trouble, but you might experiment with the
results of reducing cell padding to 0" (which would put your borders at the
outside edges of the table rather than outside them) and then creating cell
padding by adding paragraph indents and Space Before/After.

--
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.

"Ken" wrote in message
...
This works for tables only if they are left-aligned. For right-aligned
tables, you have to manually calculate the text area width (page width

minus
margins) and subtract the table width from that to determine how far from

the
left margin you need to be. In that case I hope you specified the column
width so you know exactly how wide your table is.

The only tables which seem to let you align vertical borders with margins
are centered inline tables which span the whole text area (which kind of
defeat the purpose here).

It's even worse for vertical alignment with the margins. Positioning a
table "bottom" relative to the margin works if you don't justify text
vertically. If you do, it's hit or miss as to whether or tables will

align
relative to the margin or relative to some other unknown position. So you
have to use absolute positioning, again manually subtracting the table

height
from the text area. The horizontal borders seem to align (whereas

vertical
borders require including cell margins and border thickness). However,

since
there is no way to define a table height I've found that I need to draw a
line the height of the table and get the line's length to measure the

table
height. (don't even get me started on Word not aligning text to the

margins
even when vertically justified which makes it impossible to have text and
tables aligned at the bottom of a page).

So the workaround above is very limited and the broader question remains,
how to get Word to align tables to borders (so that you don't have to
statically set the margins, table sizes, and positions in order to align

the
table)? This should be very easy to do. I can't imagine any reason to

align
the table based on anything other than the border.

"Stefan Blom" wrote:

Choose Table | Table Properties. After you've set the cell margin to
zero, do the following: Click the Table tab. Click the Positioning
button. At "Horizontal position," type the width of the border (in
this case: 3 pt), set "Relative to" to "Column," and click OK twice.

--
Stefan Blom
Microsoft Word MVP


"Ulophot" wrote in message
...
Corporate reports often have something called a "callout" table,

a small
table, perhaps 2.5 inches wide, accompanying a section headline,

with some
pertinent text. With the table's text wrap-around on, and horizontal
alignment to margin or column, Word aligns the table's CONTENT, not

the cell
borders, to the margin. Therefore, if the borders show or cells are

filled
with tone, they clearly lie just outside the margin, looking sloppy.
The only way I can discover to solve this, is to set the cell

padding to
zero. Even this doesn't actually work, as made clear by increasing

the border
width to an appreciable weight, e.g., 3 pts.

Is there no way to align the outside of the cell border?







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.