sigil吧 关注:2,409贴子:14,085
  • 12回复贴,共1

【求助】竖排文字问题

只看楼主收藏回复

为何竖排后,每章排版不一样。如下图第一张就正常的,第二张偏右,第三张标题就只剩一半了。还有的就完全看不到标题。




IP属地:四川1楼2022-10-14 22:43回复
    我只能说正常竖排在sigil中是不会这样。出现这种情况只能说明你的代码哪里有问题,不发个epub给别人看别人也不知道你代码怎么写的


    IP属地:广东来自Android客户端3楼2022-10-14 23:35
    收起回复
      @font-face {
      font-family: "DroidFont", serif, sans-serif;
      src: url(res:///system/fonts/DroidSansFallback.ttf);
      }
      body { margin-left: 5%; margin-right: 5%; margin-top: 5%; margin-bottom: 5%; text-align: justify; -epub-writing-mode: vertical-rl;}
      h1 { text-align: center; }
      h2 { text-align: center; }
      h3 { text-align: center; }
      h4 { text-align: center; }
      h5 { text-align: center; }
      h6 { text-align: center; }
      .CI {
      text-align:center;
      margin-top:1px;
      margin-bottom:1px;
      padding:1px;
      }
      .center {text-align: center;}
      .smcap {font-variant: small-caps;}
      .u {text-decoration: underline;}
      .bold {font-weight: bold;}


      IP属地:四川4楼2022-10-15 11:07
      收起回复
        刚好借楼问下,如果标题做一个background置右(给H2一个选择器),background左边竖排章节标题,这要怎么做


        IP属地:上海6楼2022-11-06 08:40
        收起回复
          github上有个项目:epub3guide(台灣 EPUB3 制作指引),兴许能帮到你。不给html看不到问题啊。


          IP属地:安徽7楼2022-11-11 17:34
          收起回复