Skip to main content
Hosun
Inspiring
April 25, 2024
Answered

How to narrow the space on EPUB?

  • April 25, 2024
  • 1 reply
  • 337 views

Hi,

 

In Screenshot 1, I want to narrow the space between 2 PNGs. 

In CSS, I arrived at div._idGenObjectLayout-1 (Screenshot 2). 

In Screenshot 3, I think I would set the margins for _idContainer128

Could you tell me how to write a code for css?

 

Hosun

 

Screenshot 1

Screenshot 2

Screenshot 3

 

 

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

Use Object Styles and set the spacing to whatever you like. As long as there's no intervening paragraph or other structure, a zero margin should be trivial.

 

It also helps to use Object Export Options and set specific export conditions, including zero top and bottom margins.

 

You generally should not have to set any CSS definitions except for fine tuning of the alignment and page position, and perhaps not even then.

1 reply

James Gifford—NitroPress
Legend
April 25, 2024

Use Object Styles and set the spacing to whatever you like. As long as there's no intervening paragraph or other structure, a zero margin should be trivial.

 

It also helps to use Object Export Options and set specific export conditions, including zero top and bottom margins.

 

You generally should not have to set any CSS definitions except for fine tuning of the alignment and page position, and perhaps not even then.

Hosun
HosunAuthor
Inspiring
April 25, 2024

There was an easy way with Object Export Options. I was thinking; deactivation is to set zero. 

Thank you very much. 

Hosun