• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to narrow the space on EPUB?

Enthusiast ,
Apr 25, 2024 Apr 25, 2024

Copy link to clipboard

Copied

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

Hosun_0-1714078598995.png

Screenshot 2

Hosun_1-1714078637502.jpeg

Screenshot 3

Hosun_2-1714078680710.jpeg

 

 

TOPICS
EPUB , How to

Views

143

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 25, 2024 Apr 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.

Votes

Translate

Translate
Community Expert ,
Apr 25, 2024 Apr 25, 2024

Copy link to clipboard

Copied

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.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 25, 2024 Apr 25, 2024

Copy link to clipboard

Copied

LATEST

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

Thank you very much. 

Hosun

 

Hosun_0-1714082900180.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines