Jump to content

Table width exceeds column width; table may set outside frame.


Recommended Posts

I'm getting a series of these errors in my composition log which seem to indicate there is a problem with my tables.

 

returnStr += '<table columns="6" title="Top" alignment="right" shadestyle="by:row;first:1,Gray,75;next:1,White,0" margins="left:0;top:0;bottom:30;right:0" >';

returnStr += '<column width="10000">';

returnStr += '<column width="6000">';

returnStr += '<column width="5800" >';

returnStr += '<column width="10000">';

returnStr += '<column width="24000">';

returnStr += '<column width="5000">';

 

Does anyone know what this Error Means?

Link to comment
Share on other sites

Well, it's actually a warning message, not an error per se. It means that the combined width of the table (the sum of the widths of all the columns) is greater than the width of the text frame into which you're setting it. (Well, actually, the width of the column in the text frame, since text frames can be set to have multiple columns, but presumably you're setting the table into a single-column frame. Also, the width of any border or text inset is subtracted from the width of the frame to get the "effective" width that text can be set into.)

 

In this case, the widths of all the columns in your table add up to 60800, in hundredths of points, or 608 points, where there are 72 points in an inch, so your table is a little over 8.4 inches wide. If you try to set that 8.4 inch wide table into a frame that's less than 8.4 inches wide, you'll get the warning message in question.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...