View Single Post
Old 12-14-2018, 02:49 PM   #233
speedyg
Junior Member
speedyg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2015
Device: Galaxy Tab S
First of all, thanks much for Calibre. It's marvelous.

I'm trying to use the viewer function for the first time and my book (epub) is showing as double spaced. I've added the following to User Stylesheet:

body {
color: rgb(230,213,77) !important;
background-color:rgb(64,43,30) !important;
line-height: 1 !important;
text-align:justify;
margin-top:0px;
margin-bottom:4px;
margin-right:50px;
margin-left:50px;
text-indent:3em;
}

Everything except line-height seems to work fine. I've also tried defining line-spacing.
Nothing I do changes the line height or spacing. When I use the same code on w3schools.com CSS TryIt page it displays exactly as I'd expect.

Am I doing something wrong?

Thanks.

Last edited by speedyg; 12-14-2018 at 03:46 PM.
speedyg is offline   Reply With Quote