Comments (6)
Hi, you can set render style to epub.css, that will set alignment to justify-aligned.
from koreader.
i see. what about the margin setting?
from koreader.
You could try setting 'p' selector in the epub style sheet like this:
p {
text-align: justify;
text-indent: 1.5em;
margin-top:0.2em;
margin-bottom: 0.3em;
margin-left: 1.0em;
margin-right: 0.7em;
}
Note that in order to keep left and right margin visually matched, the left margin should be set 0.3em larger than the right margin.
from koreader.
sorry, i know nothing about code.i compared all the codes, found:
body {
text-indent: 0px;
margin: 0;
text-align: justify;
}
*.justindent { text-align: justify; text-indent: 1.3em; margin-top:0em; margin-bottom: 0em }
and:
img {
text-align: center;
text-indent: 0px;
display: block;
margin: 0.5em;
border-style: solid;
border-width: medium;
}
.section_image { text-align: center; }
.coverpage { text-align: center; }
p image { display: inline }
a { display:inline; text-decoration: underline; color: gray; }
p { text-align: justify; text-indent: 1.2em; margin-top:0em; margin-bottom: 0em }
should i modify both of them?
from koreader.
@exprade , just replace the last line (p {....}) with what @chrox posted above :)
from koreader.
This issue should be solved as in #59 and #137. So close this now.
from koreader.
Related Issues (20)
- Koreader crashes at launch after update HOT 2
- FR: Support for CSS font: shorthand
- Cropping: Show a transparent overlay HOT 6
- Virtual keyboard unexpectedly minimizes when typing (dead area around keys and keyboard) HOT 2
- Crash when I try to search text HOT 2
- RFC: Style>Auto, fb2.css, epub.css, html5.css HOT 21
- FR: Using partial rendering on already opened books HOT 3
- incorrect ordering of chapters inside cbz HOT 2
- Crashing while reading .cbz files on Kobo Sage (memory allocation issue?) HOT 3
- FR: Current Chapter Progress Bar HOT 1
- FR: Set Embedded Image as Custom Cover HOT 8
- Bug in in-page footnotes HOT 14
- DAUTO_SAVE_PAGING_COUNT is not effective anymore HOT 6
- Crash on Mac OS X 14.3.1 HOT 2
- Top menu crashes in v2024.03 HOT 10
- Read timer not working in Boox Palma HOT 6
- Kobo Forma: Random EPDC hangs HOT 34
- FR: Allow setting of status bar item prefix per element/item HOT 2
- Q: What is this symbol? HOT 25
- Cover as screensaver not working in Kindle PW2 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koreader.