Skip to main content
Inspiring
March 11, 2024
Question

vertical line appears when exporting to epub

  • March 11, 2024
  • 1 reply
  • 346 views

  

 After exporting to epub. I'm getting a vertical line after the last sentence of the chapter and before the chapter begins.

 

Does anyone know why?

 

 

This topic has been closed for replies.

1 reply

Inspiring
March 11, 2024

The above is what i see on ibooks previewer.

 

But on kindle previewer, the text frame has an outline?

Inspiring
March 11, 2024

This has been solved.

 

went into css. for some reason it applied

border-color:#000000;

border-width:1px;
border-style:solid;

which i changed to
border-color:#000000;
border-width:0px;
border-style:none;
James Gifford—NitroPress
Legend
March 11, 2024

This is probably the optimal fix — good work!

 

The line almost certainly comes from the "line above" spacing method needed for InDesign. If you keep the line thin (0 or 1pt) and the offset large (1 or more inches), it works best, but a fragment of border can still come through on some readers. Using CSS to set the border for this paragraph to 0 width or border:none should eliminate the artifact in all readers. (The line and spacing are not used by EPUB/Kindle.)