View Single Post
Old 04-12-2010, 05:53 PM   #1
pollito pito
i warned you ...
pollito pito doesn't litterpollito pito doesn't litterpollito pito doesn't litter
 
pollito pito's Avatar
 
Posts: 54
Karma: 222
Join Date: Apr 2010
Device: none
Lightbulb Two columns display in the viewer? again...?

Some time ago fento asked:
Is it possible, maybe be using a custom CSS stylesheet in the configuration of the viewer, that the text is shown in two columns?
To what kovidgoyal said that it might be possible since calibre uses webkit for rendering the books.

Well, it is possible. Sort of. Here is my custom CSS:

body
{
color:rgb(0,0,0) !important;
background-color:rgb(228,226,224);
text-align:justify;
line-spacing:1.8;
margin-top:1px;
margin-bottom:1px;
margin-right:10px;
margin-left:10px;

-webkit-column-count: 2;
-webkit-column-gap: 1em;
-webkit-column-rule: 1px dotted;

height: 650px;
width:1200px

text-indent: 2em;
}
h1, h2, h3, h4, h5, h6
{
color:black;
text-align:center;
font-style:italic;
font-weight:bold;
}

As you can see, essentially what I am doing is generating a very wide
page by constraining the height.
In this manner I can see two pages on the screen, but to
get to the next two, I have to scroll to the right .


Can someone come with a better solution?
Thanks.

PS: May be it’s just femto and myself using Calibre as the only ebook application, including for reading?
pollito pito is offline   Reply With Quote