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

Right Margin problem in ADE

Community Beginner ,
Apr 24, 2021 Apr 24, 2021

Copy link to clipboard

Copied

So, I'm making a test EPUB using Sigil and I just put some text to experiment with the results...

I just put some text (divided by <span> tags, becuase I'm trying to use Media Overlays) and I don't understand why in ADE, for some reason, I have a wierd right margin that doesn't show in Sigil...

Kokasgui_0-1619260077032.pngKokasgui_1-1619260086810.png

 

Why does this happen? I'm assuming it's a problem with my CSS code but I just don't know where... My CSS code is this:

@Font-face {
   font-family:Bitter;
   font-style:normal;
   font-weight:normal;
   src:url("../Fonts/Bitter-Regular.ttf");
}

p {
   text-indent:2em;
   text-align:justify;
   margin:0 0 0 0;
   padding:0 0 0 0;
   border-width:100%;
}

span {
   font-family:Bitter;
   font-style:normal;
   text-indent:2em;
   text-align:justify;
   margin:0 0 0 0;
   padding:0 0 0 0;
   border-width:100%;
}

.-epub-media-overlay-active {
   background-color: #FFFF99;
}

Can someone help me with my problem?

 

Views

126

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 Beginner , Apr 28, 2021 Apr 28, 2021

Ok, turns out that the file was corrupted, the code was perfectly fine!

Votes

Translate

Translate
Community Beginner ,
Apr 28, 2021 Apr 28, 2021

Copy link to clipboard

Copied

LATEST

Ok, turns out that the file was corrupted, the code was perfectly fine!

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