View Single Post
Old 10-11-2019, 01:53 AM   #15
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Imperative View Post
Hello guys, I’ve got in real trouble while using a very primitive CSS in viewer:
Code:
body {
color: rgb(0,0,0)  !important;
background-color: rgb(228,226,224) !important;
line-height: 1 !important;
text-indent: 2em !important;
text-align: justify !important;
margin-top: 0px !important;
margin-bottom: 4px  !important;
margin-right: 10px !important;
margin-left: 50px !important;
font-family: Bookman Old Style !important;
font-size: 19px !important;
 }
There is no reason to use the style section in the viewer to set any of the following since they have sections in the viewer preferences to set these items:

FYI setting color and background color schemes is currently broken and will be fixed in the next release.

color
background-color
margin-top
margin-bottom
margin-right
margin-left
font-family
font-size

Just set the above in the sections dedicated to these items in the viewer preferences area not in the styles section.

If you insist on using line-height, text-indent, and text-align. They don't seem to work from the body level.

Instead use them as follows in the p and div levels.

Code:
p {
line-height: 1 !important;
text-indent: 2em !important;
text-align: justify !important;
}

div {
line-height: 1 !important;
text-indent: 2em !important;
text-align: justify !important;
}

Last edited by DoctorOhh; 10-11-2019 at 01:55 AM.
DoctorOhh is offline   Reply With Quote