Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css epub 2列分页符和布局_Css_Epub_Css Multicolumn Layout - Fatal编程技术网

Css epub 2列分页符和布局

Css epub 2列分页符和布局,css,epub,css-multicolumn-layout,Css,Epub,Css Multicolumn Layout,我正在为特定设备创建一个2列epub手册。我的问题是,当我使用css指定列(-webkit column count:2;-webkit column rule:0px;)时,最终结果是: 第1页显示(第1部分|第3部分),以及 第二页显示了这首诗的第二部分(第四部分) 我更喜欢在一个更自然的书流中完成它,这应该会显示出来 (第1部分|第2部分)第1页,并继续 (第3部分|第4部分)第2页 有没有办法存档 一些补充说明: 我试图限制列的高度,但它所做的只是添加第三列,这不是我想要的 这本书的内容

我正在为特定设备创建一个2列epub手册。我的问题是,当我使用css指定
列(-webkit column count:2;-webkit column rule:0px;)
时,最终结果是:

第1页显示(第1部分|第3部分),以及

第二页显示了这首诗的第二部分(第四部分)

我更喜欢在一个更自然的书流中完成它,这应该会显示出来

(第1部分|第2部分)第1页,并继续

(第3部分|第4部分)第2页

有没有办法存档

一些补充说明:

  • 我试图限制列的高度,但它所做的只是添加第三列,这不是我想要的
  • 这本书的内容是动态生成的,因此,我无法提前指定休息的位置

  • 您将列计数应用于什么

    .columncount
    {
    -webkit列计数:2;-webkit列规则:0px;
    }
    坚强的
    {
    字体大小:粗体;
    }
    
    • 第章1–兔子洞下:爱丽丝和妹妹坐在河岸上时感到无聊,这时她注意到一只会说话、穿着衣服、拿着怀表的白兔跑了过去。她跟着它进入一个兔子洞,突然,她走了很长一段路,来到一个奇怪的大厅,大厅里有许多大小不一的锁着的门。她找到了一把小钥匙,这把钥匙太小了,她穿不进去,但通过它,她看到了一个漂亮的花园。然后,她在桌上发现了一个标有“喝我”的瓶子,里面的东西使她缩得太小,够不到她留在桌上的钥匙。一块上面写着“吃我”的蛋糕会让她长得这么大,头撞到天花板上

      章2–泪池:爱丽丝很不高兴,眼泪涌上了走廊。爱丽丝捡起一把扇子,身体又缩了下来,她在自己的眼泪里游泳,遇到了一只老鼠,老鼠也在游泳。她试图用初级法语和他闲聊(认为他可能是一只法国老鼠),但她的开场白“我的猫在哪里?”冒犯了老鼠。

      3章——核心小组竞赛和一个漫长的故事:眼泪之海挤满了被上涨的海水冲走的其他动物和鸟类。爱丽丝和其他动物聚集在河岸上,他们之间的问题是如何再次变干。老鼠给他们讲了一堂关于征服者威廉的枯燥无味的课。渡渡鸟认为最好的办法是举行核心小组赛,每个人都围成一个圈,没有明确的胜利者。爱丽丝最终在无意中把所有的动物都吓跑了,因为她说的是她的(中等凶猛的)猫。

      4章–兔子送来一张小账单:白兔再次出现,寻找公爵夫人的手套和扇子。他把她误认为是他的女仆玛丽·安,命令爱丽丝进屋取回她们,但她一进屋就开始长大。吓坏了的兔子命令他的园丁,蜥蜴比尔爬上屋顶,从烟囱下去。在外面,爱丽丝听到动物们聚集在她巨大的手臂前目瞪口呆的声音。人群向她扔石子,石子变成了小蛋糕。爱丽丝吃了它们,它们又使她变小了。

      5章–毛毛虫的建议:爱丽丝遇到一只蘑菇,坐在蘑菇上的是一只正在抽水烟的蓝色毛毛虫。毛毛虫质问爱丽丝,她承认她目前的身份危机,再加上她记不起一首诗。在爬走之前,毛毛虫告诉爱丽丝蘑菇的一边会让她更高,另一边会让她更短。她从蘑菇上撕下两块。一边使她比以往任何时候都小,另一边使她的脖子长到树上,鸽子误以为她是蛇。经过一些努力,爱丽丝恢复了正常的身高。她偶然发现了一个小庄园,用蘑菇来达到一个更合适的高度。 柴郡猫

      6章-猪和胡椒:一个鱼仆有一张邀请公爵夫人的请柬,他把请柬交给了一个青蛙仆。爱丽丝观察了这一交易,在与青蛙进行了一次令人困惑的谈话后,她自己走进了房子。公爵夫人的厨师正在扔盘子,煮一碗胡椒粉过多的汤,这会导致爱丽丝、公爵夫人和她的孩子(但不是厨师或咧嘴笑的柴郡猫)剧烈地打喷嚏。爱丽丝是公爵夫人给她的孩子,令她惊讶的是,孩子变成了一头猪。柴郡猫出现在树上,指引她去三月兔的家。他消失了,但他的笑容依然留在身后,独自飘浮在空中,这促使爱丽丝说,她经常看到一只没有笑容的猫,但从来没有一只没有笑容的猫。

      第7章–疯狂的茶话会:爱丽丝与三月兔、帽匠和一只非常疲倦的睡鼠一起成为“疯狂”茶话会的客人,睡鼠经常睡着,但不久后被三月兔和帽匠猛地惊醒。这些角色给了爱丽丝许多谜语和故事,包括著名的“为什么乌鸦像写字台?”。帽匠透露,他们整天都在喝茶,因为时间惩罚了他,让他在下午6点(喝茶时间)永远站着不动。爱丽丝受到侮辱,厌倦了被谜语轰炸,她离开时声称这是她参加过的最愚蠢的茶话会。 爱丽丝试图和火烈鸟玩槌球。

      第8章–女王的槌球场:爱丽丝离开茶会进入花园,在那里她看到三张活生生的扑克牌,把玫瑰树上的白玫瑰涂成红色,因为红心皇后讨厌白玫瑰。一队又一队的纸牌、国王和王后,甚至是白兔都进入了圣殿
      .columncount
      {
        -webkit-column-count: 2; -webkit-column-rule: 0px;   
      }
      strong
      {
       font-weight:bold;   
      }
      
      <ul>
          <li class="columncount"><p><strong>Chapter</strong> 1 – Down the Rabbit Hole: Alice is feeling bored while sitting on the riverbank with her sister, when she notices a talking, clothed White Rabbit with a pocket watch run past. She follows it down a rabbit hole when suddenly she falls a long way to a curious hall with many locked doors of all sizes. She finds a small key to a door too small for her to fit through, but through it she sees an attractive garden. She then discovers a bottle on a table labelled "DRINK ME", the contents of which cause her to shrink too small to reach the key which she has left on the table. A cake with "EAT ME" on it causes her to grow to such a tremendous size her head hits the ceiling.</p>
      
      <p><strong>Chapter</strong> 2 – The Pool of Tears: Alice is unhappy and cries as her tears flood the hallway. After shrinking down again due to a fan she had picked up, Alice swims through her own tears and meets a Mouse, who is swimming as well. She tries to make small talk with him in elementary French (thinking he may be a French mouse) but her opening gambit "Où est ma chatte?" (that is "Where is my cat?") offends the mouse.
      
      </p>
      
      <p><strong>Chapter</strong> 3 – The Caucus Race and a Long Tale: The sea of tears becomes crowded with other animals and birds that have been swept away by the rising waters. Alice and the other animals convene on the bank and the question among them is how to get dry again. The mouse gives them a very dry lecture on William the Conqueror. A Dodo decides that the best thing to dry them off would be a Caucus-Race, which consists of everyone running in a circle with no clear winner. Alice eventually frightens all the animals away, unwittingly, by talking about her (moderately ferocious) cat.
      
      </p>
      
      <p><strong>Chapter</strong> 4 – The Rabbit Sends a Little Bill: The White Rabbit appears again in search of the Duchess's gloves and fan. Mistaking her for his maidservant, Mary Ann, he orders Alice to go into the house and retrieve them, but once she gets inside she starts growing. The horrified Rabbit orders his gardener, Bill the Lizard, to climb on the roof and go down the chimney. Outside, Alice hears the voices of animals that have gathered to gawk at her giant arm. The crowd hurls pebbles at her, which turn into little cakes. Alice eats them, and they reduce her again in size.
      
      </p>
      
      <p><strong>Chapter</strong> 5 – Advice from a Caterpillar: Alice comes upon a mushroom and sitting on it is a blue Caterpillar smoking a hookah. The Caterpillar questions Alice and she admits to her current identity crisis, compounded by her inability to remember a poem. Before crawling away, the caterpillar tells Alice that one side of the mushroom will make her taller and the other side will make her shorter. She breaks off two pieces from the mushroom. One side makes her shrink smaller than ever, while another causes her neck to grow high into the trees, where a pigeon mistakes her for a serpent. With some effort, Alice brings herself back to her usual height. She stumbles upon a small estate and uses the mushroom to reach a more appropriate height.
      
      The Cheshire Cat
      
      </p>
      
      <p><strong>Chapter</strong> 6 – Pig and Pepper: A Fish-Footman has an invitation for the Duchess of the house, which he delivers to a Frog-Footman. Alice observes this transaction and, after a perplexing conversation with the frog, lets herself into the house. The Duchess's Cook is throwing dishes and making a soup that has too much pepper, which causes Alice, the Duchess, and her baby (but not the cook or grinning Cheshire Cat) to sneeze violently. Alice is given the baby by the Duchess and to her surprise, the baby turns into a pig. The Cheshire Cat appears in a tree, directing her to the March Hare's house. He disappears but his grin remains behind to float on its own in the air prompting Alice to remark that she has often seen a cat without a grin but never a grin without a cat.
      
      </p>
      
      <p><strong>Chapter</strong> 7 – A Mad Tea-Party: Alice becomes a guest at a "mad" tea party along with the March Hare, the Hatter, and a very tired Dormouse who falls asleep frequently, only to be violently woken up moments later by the March Hare and the Hatter. The characters give Alice many riddles and stories, including the famous 'Why is a raven like a writing desk?'. The Hatter reveals that they have tea all day because Time has punished him by eternally standing still at 6 pm (tea time). Alice becomes insulted and tired of being bombarded with riddles and she leaves claiming that it was the stupidest tea party that she had ever been to.
      Alice trying to play croquet with a Flamingo.
      
      </p>
      
      <p><strong>Chapter</strong> 8 – The Queen's Croquet Ground: Alice leaves the tea party and enters the garden where she comes upon three living playing cards painting the white roses on a rose tree red because the Queen of Hearts hates white roses. A procession of more cards, kings and queens and even the White Rabbit enters the garden. Alice then meets the King and Queen. The Queen, a figure difficult to please, introduces her trademark phrase "Off with his head!" which she utters at the slightest dissatisfaction with a subject. Alice is invited (or some might say ordered) to play a game of croquet with the Queen and the rest of her subjects but the game quickly descends into chaos. Live flamingos are used as mallets and hedgehogs as balls and Alice once again meets the Cheshire Cat. The Queen of Hearts then orders the Cat to be beheaded, only to have her executioner complain that this is impossible since the head is all that can be seen of him. Because the cat belongs to the Duchess, the Queen is prompted to release the Duchess from prison to resolve the matter.
      
      </p>
      
      <p><strong>Chapter</strong> 9 – The Mock Turtle's Story: The Duchess is brought to the croquet ground at Alice's request. She ruminates on finding morals in everything around her. The Queen of Hearts dismisses her on the threat of execution and she introduces Alice to the Gryphon, who takes her to the Mock Turtle. The Mock Turtle is very sad, even though he has no sorrow. He tries to tell his story about how he used to be a real turtle in school, which the Gryphon interrupts so they can play a game.
      
      </p>
      
      <p><strong>Chapter</strong> 10 – Lobster Quadrille: The Mock Turtle and the Gryphon dance to the Lobster Quadrille, while Alice recites (rather incorrectly) "'Tis the Voice of the Lobster". The Mock Turtle sings them "Beautiful Soup" during which the Gryphon drags Alice away for an impending trial.
      
      </p>
      
      <p><strong>Chapter</strong> 11 – Who Stole the Tarts?: Alice attends a trial whereby the Knave of Hearts is accused of stealing the Queen's tarts. The jury is composed of various animals, including Bill the Lizard, the White Rabbit is the court's trumpeter, and the judge is the King of Hearts. During the proceedings, Alice finds that she is steadily growing larger. The dormouse scolds Alice and tells her she has no right to grow at such a rapid pace and take up all the air. Alice scoffs and calls the dormouse's accusation ridiculous because everyone grows and she can't help it. Meanwhile, witnesses at the trial include the Hatter, who displeases and frustrates the King through his indirect answers to the questioning, and the Duchess's cook.
      
      </p>
      
      <p><strong>Chapter</strong> 12 – Alice's Evidence: Alice is then called up as a witness. She accidentally knocks over the jury box with the animals inside them and the King orders the animals be placed back into their seats before the trial continues. The King and Queen order Alice to be gone, citing Rule 42 ("All persons more than a mile high to leave the court"), but Alice disputes their judgement and refuses to leave. She argues with the King and Queen of Hearts over the ridiculous proceedings, eventually refusing to hold her tongue. The Queen shouts her familiar "Off with her head!" but Alice is unafraid, calling them out as just a pack of cards; just as they start to swarm over her. Alice's sister wakes her up for tea, brushing what turns out to be some leaves and not a shower of playing cards from Alice's face. Alice leaves her sister on the bank to imagine all the curious happenings for herself.</li>
      </ul>​