Skip to main content
Inspiring
September 8, 2022
Question

table style with frame

  • September 8, 2022
  • 3 replies
  • 214 views

why in a table if i have cell styles without lines - can't i assign a frame? I can't actually set a visible table frame style.

This topic has been closed for replies.

3 replies

James Gifford—NitroPress
Legend
September 8, 2022

I'm reading this as that you want a table with an outline border but no borders beween cells.

 

The problem is that table layout is hierarchical, and Cell Styles always override Table Styles, especially for borders. If you set a border for the Table Style (which in theory puts a border around the outside), any definition of borders in Cell Styles in cells that touch the outside border will override that table border definition.

 

The outside border defined by a Table Style will only show, in my experience, if a Cell Style of [None] is used. Any definition of a border in a cell style, even to 0pt/[None], will override that table border.

 

You can achieve what you're after by using a cell style of [None] on all outer perimeter cells, then manually setting only the inner strokes of those to 0 points. Tedious and not readily automated.

 

Frankly, I'm not too sure what use the Table Style border has. 🙂

 

Robert at ID-Tasker
Legend
September 8, 2022

There are CellStyles and TableStyles. 

Geоrge
Legend
September 8, 2022

>> can't i assign a frame? 

Can you draw what you mean? before/after images.

 

If you want to assign frame stroke - this is an object style setting, not a table style.

Remember, never say you can't do something in InDesign, it's always just a question of finding the right workaround to get the job done. © David Blatner
stefanofeAuthor
Inspiring
September 10, 2022

exact is an object style. But I can tell you that the object style in this case does not work well: if I have a line on the cell - then - those times that it allows me to automatically resize (at a certain point it does not allow me anymore in fact) it overlaps the lines creating a double line and I don't have the option to automatically reduce this