![]() |
#1 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Apr 2022
Device: none
|
Keyboard .....?
I live in The Netherlands, so the book shall be in Dutch.
But om my computer my keyboard has to be set in English US? |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,887
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Only the HTML/metadata tags need to be in ASCII (you should declare the Language used in the metadata (OPF). I believe that will default to the SYSTEM (Locale) language Why not do a few Tests (1 page books) and see what you get? ![]() |
|
![]() |
![]() |
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,986
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I learned a lot by looking at the code of existing eBooks and anything I didn't understand or needed some help with, I did a Google search.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Apr 2022
Device: none
|
Ok, thanks!
|
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Apr 2022
Device: none
|
Quote:
Where do I find this basic EPUB styling code? |
|
![]() |
![]() |
![]() |
#6 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Apr 2022
Device: none
|
So, I must have a reader device?
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,887
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You steal it from books you like.
Almost every device/browser has defaults if you do not use your own (CSS is the clean way) to Style. Code:
<body> <h3>Chapter 3</h3> <p>The Moon shown brightly over the hills.</p> <\body> ![]() Think of Styles as overriding the defaults. Since no one can agree what thos should be, it really is better if you use YOUR exact preference. |
![]() |
![]() |
![]() |
#8 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,986
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There are some defaults to use. Use the default font, font size (for the main body font) and use the default line height. Some programs/devices allow you to set your own and may not work well if you have them set in CSS. Oh and as for the code above, I would use <h2> instead as I like the <h2> default side for a chapter title. For that code snippet, this is the CSS I would use. CSS Code:
body { widows: 1; orphans: 1; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; text-align: justify; } h2 { text-align: center; font-weight: bold; } .noindent { text-indent: 0; } p { margin-top: 0; margin-bottom: 0; text-indent: 1.2em; } Code:
<body> <h2>Chapter 3</h2> <p class="noindent">The Moon shown brightly over the hills.</p> <\body> Last edited by JSWolf; 06-05-2022 at 04:44 AM. |
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Apr 2022
Device: none
|
Ok, many thanks!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Onyx Boox m96 - Default Keyboard vs Google Keyboard (video) | halox | Onyx Boox | 1 | 04-03-2015 09:45 PM |
HD Fire HD Keyboard and Bluetooth Keyboard? | Doc109 | Kindle Fire | 18 | 01-29-2013 09:54 AM |
Keyboard entry when no keyboard is displaying | geneven1 | enTourage eDGe | 5 | 06-14-2011 06:07 AM |
Your vote - keyboard or no keyboard on Kindle | mrzerga | Amazon Kindle | 56 | 03-10-2011 07:22 PM |