Skip to main content

Table Text Shifts to the Left of Shaded Cells in HD

Issue

When generating HD inline documents with alternate row coloring enabled, some table text appears to be shifted to the left of the boundary of the table in the output.

Table Text Shifted to the Left of the Table Boundary

Cause

To accommodate left and right orange borders for the EDGAR rendering engine (Arelle viewer) of Inline XBRL HD on text block tags, there is a -2-pixel added to both the left and right margin which produces the issue.

Without the -2-pixel margins on the left and right, the orange borders will appear like this in the Arelle viewer:

Borders without the -2-pixel Margins on the Left and Right

With the -2-pixel on the left and right margin, the orange borders will appear like this in the Arelle viewer:

Borders with the -2-pixel Margins on the Left and Right

Solution

If you do not want to not have the -2-pixel left and right margin there are two options available:

  1. Change the config setting <FixStyleForSecInlineViewer> to false.
  2. Insert a blank gutter column with minimum width (e.g. 10 pixels) at the left of the table in the Excel tables in CDM:

    Insert a Blank Gutter Column with Minimum Width in Excel

Was this article helpful?

We're sorry to hear that.