Quote:
Originally Posted by Imperative
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;
}