I’m using a lot of tables in a long document. I’ve set up a baseline grid and am using it for all my text, including that contained in the tables. However, all the text within the tables appears to be offset slightly from the baseline grid. The space between the lines appears correct, but the baselines are all shifted up a few points from the grid. Any ideas why this might be happening?
The text outside the tables is fine. I’ve checked that I haven’t accidentally applied a baseline shift to the text inside the tables or the paragraph containing the table, and there’s no space before or after the paragraphs. I’ve tried adjusting the space before and after the table in the table settings. I’ve tried removing all cell padding, strokes and other styling.
Any new tables I create in the document have the same problem, even with no styling, but if I copy the tables accross to a new document they work fine in there.
I’ve tried exporting the document to .idml and .inx. No difference.
I’d appreciate any suggestions.
I’m using CS4 on Windows 7.
I think the file is corrupt if the tables behave when copied to a new document. Since you've already tried .idml and .inx I think the only thing left is to try an export to Tagged Text and place that in a new file, or use copy/paste.
One other thing. In the screen capture there doesn't appear to be enough space in the cells for the text to sit on the grid. In my testing, that resulted in overset text in the table, but it hasn't in your example.
Yes, I think the file must be corrupt somehow. I’ll experiment some more. For now I’ll just leave it as is. There’s too much to copy and paste to be worthwhile now, and at least it’s consistently spaced.
I’ve set my cells to have a height of at least a certain number, not be be an exact height. They resize vertically to fit the content; I’ve had no problems with overset text except where the padding made the cells too narrow to fit long words, but that’s to be expected.
Thanks for your suggestions.
My point here was that your cells are sizing to fit the text without aligning to grid, so there is definitely something wrong in the table. Exporting a story to tagged text takes only a few moments, and you then import the whole story back into a new file. It would be worth a try to see if it cleans the problem. In my experience, once a file starts to behave badly it can only get worse.
I’ve just tried exporting to tagged text (never done it before—thanks for suggesting), creating a new document, importing master pages and styles, and placing. Same problem.
I discovered that if I set my grid to start from a position relative to the top of the page (not the top margin, as I had it) it’s fixed! I can simulate this problem in a new document, but had to change the page margins for it to be obvious. Fiddling with the margins here it looks like the tables always position their baseline grid relative to the top of the page, even if you set it to be relative to the top margin in the preferences.
That sounds like it might be a bug. You should report it at http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform