Answers.Body: <p>One of the following web posts indicate the CSS code works for ePub2, EPUB3, and Kindle.</p>
  <p>CSS hack:</p>
  <pre><code>body {
    widows: 1;
    orphans: 1;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    text-align: justify;
    -epub-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
  }
  
  element {
      adobe-hyphenate: none;
      -webkit-hyphens: none;
      -moz-hyphens: none;
      -ms-hyphens: none;
      -epub-hyphens: none;
      hyphens: none;
  }
  </code></pre>
  <p>Let us know if the CSS above will do it or get booted when the epub is loaded into KDP.</p>
  <p>Sources:</p>
  <p><a href="https://www.mobileread.com/forums/showthread.php?t=336713" rel="nofollow noreferrer">mobileread</a></p>
  <p><a href="https://creativepro.com/topic/how-to-avoid-hyphenation-in-epubs/" rel="nofollow noreferrer">creativepro</a></p>
  <p><a href="https://dtperfect.com/3-css-tips-tricks-for-reflowable-ebooks/" rel="nofollow noreferrer">dtperfect</a></p>
  <p><strong>Add on comments:</strong></p>
  <p>Correct, there's no way to get CSS into .kcb file; I presumed you had some midway software tool.
  And directly setting your preferred 'hyphenation OFF' code in CSS is a 'hack' method. To clarify....</p>
  <p>Prep tools people use: MSWord, OpenOffice [OO], LibreOffice [LO] writer, etc -- all are common tools for creating the base storyline or writing stage of a product intended for eBook destination.</p>
  <p>From there its imported into Kindle Create (via .doc, docx, odf, etc) and saved as .kcb in there. If those are the only two software tools you use, then you are limited to not touching the CSS HTML.</p>
  <p>Some refinements can be done in .kcb (images etc), some cannot (not CSS). We have not done any extensive editing inside a .kcb (other than adjusting the TOC) because everything we prep (CSS-HTML-JS) is done before it goes through that final KDP tool (as the mere final checkpoint before going live onto Amazon). We essentially proofed our product using epubcheck (and other means before going converting it in Kindle Create. Kindle Create software is as effective tool specifically designed to easily market product through that source (Amazon).</p>
  <p>An earlier post described creating their base story in 'OO', the importing it into Calibre, adjusting some code there (if need), then saving it as an epub ready product, which is then uploaded into Kindle Create to be converted as the last step into .kcb and then going live (if all passed).</p>
  <p>Free tools like Calibre, and Sigil are quite common (and fairly easy) to use (in epub creation) if you don't want to commit to higher priced software tools for epub making. Though its an external post, here are some comments that others spoke about the same issue:</p>
  <p><a href="https://www.mobileread.com/forums/showthread.php?t=355224" rel="nofollow noreferrer">MobileRead</a></p>
  <p>Tools like Calibre/Sigil are worth that middle step (if you have the time to learn it). It allows that leeway to make those (hopefully) rare tweaks to the CSS/HTML that may be needed before converting it into .kcb at Kindle Create.</p>
  <p>Even the KDP help pages speak plenty about CSS HTML code, and they presume that the person making the epub will have the software to access some of that code (if or when needed).</p>
  <p><a href="https://kdp.amazon.com/en_US/help/topic/GH4DRT75GWWAGBTU#margin_formatting" rel="nofollow noreferrer">KDP help</a></p>
  <p>Kindle Create is known for re-formatting the prepped CSS code (even we encounter it), and when you view it in .kcb you can sometimes get a surprise (for KDP can and may strip out certain CSS code) and re-format it their way.
  I've also did a bit of web reading to see if we've overlooked any ideas for you, but there really aren't other options than to take the slower longer path through additional middle ground software.</p>
  <p>That midway epub software (where you can make those types of adjustments to the CSS and HTML) is merely a choice to either have or have not (between the base raw writing) and the final Amazon KDP .kcb file to its live end product.
  The more you want to tweak an epub (before it reaches Kindle Create .kcb terrain) the more you will need that midway software tool (like Calibre/Sigil/etc).</p>
  <p>Or the rough road....learning the CSS HTML direct coding method.</p>
  <p>Or...the costlier route of higher end epub creation software designed to cover all those CSS HTML tasks inside its own specialized software.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-14T21:23:30.643Z
Answers.Text: Many thanks for this. Unfortunately, although I know some CSS, I don't know how to put it into any kind of file that I know how to get a .kcb file from. I'd be grateful for a link that will help me fill this gap in my knowledge. Or are you advising not to use .kcb?
Answers.UserDisplayName: tell
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-14T23:28:28.950Z
Answers.Text: We added a longer explanation in our post above -- to answer your question.
Answers.UserDisplayName: granite
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-07T06:40:39.087Z
Answers.LastActivityDate: 2023-08-14T23:24:51.260Z
Answers.LastEditDate: 2023-08-14T23:24:51.260Z
Answers.UserDisplayName: granite
Body: <p>Is there a way to turn off hyphenation for a .kcb file, either using Kindle Create or a more sophisticated .kcb-outputting program</p>
  <p>Choice of whether or not to hyphenate is a user setting on a Kindle, but I would like a way to stop hyphenation altogether, or failing that a way to at least make no hyphenation the default.</p>
  <p>Turning it off in Word, as a setting either for specific text or a style, even when the text is left-justified, doesn't work. Kindle just puts in hyphens.</p>
  <p>If there isn't an approved way of stopping hyphenation, there must surely be a hack?</p>
  
Tags: <kindle><formatting><hyphenation>
Title: Is there a way to turn off hyphenation for a .kcb file?
UserDisplayName: tell
ThreadText: # Is there a way to turn off hyphenation for a .kcb file?
  
  (Asked by: username_0 on 2023-08-06)
  
  Is there a way to turn off hyphenation for a .kcb file, either using Kindle Create or a more sophisticated .kcb-outputting program
  
  Choice of whether or not to hyphenate is a user setting on a Kindle, but I would like a way to stop hyphenation altogether, or failing that a way to at least make no hyphenation the default.
  
  Turning it off in Word, as a setting either for specific text or a style, even when the text is left-justified, doesn't work. Kindle just puts in hyphens.
  
  If there isn't an approved way of stopping hyphenation, there must surely be a hack?
  
  **Tags:** kindle, formatting, hyphenation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-08-07. Score: 1
  
  One of the following web posts indicate the CSS code works for ePub2, EPUB3, and Kindle.
  
  CSS hack:
  
  ```
  body {
    widows: 1;
    orphans: 1;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    text-align: justify;
    -epub-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
  }
  
  element {
      adobe-hyphenate: none;
      -webkit-hyphens: none;
      -moz-hyphens: none;
      -ms-hyphens: none;
      -epub-hyphens: none;
      hyphens: none;
  }
  
  ```
  
  Let us know if the CSS above will do it or get booted when the epub is loaded into KDP.
  
  Sources:
  
  [mobileread](https://www.mobileread.com/forums/showthread.php?t=336713)
  
  [creativepro](https://creativepro.com/topic/how-to-avoid-hyphenation-in-epubs/)
  
  [dtperfect](https://dtperfect.com/3-css-tips-tricks-for-reflowable-ebooks/)
  
  **Add on comments:**
  
  Correct, there's no way to get CSS into .kcb file; I presumed you had some midway software tool.
  And directly setting your preferred 'hyphenation OFF' code in CSS is a 'hack' method. To clarify....
  
  Prep tools people use: MSWord, OpenOffice [OO], LibreOffice [LO] writer, etc -- all are common tools for creating the base storyline or writing stage of a product intended for eBook destination.
  
  From there its imported into Kindle Create (via .doc, docx, odf, etc) and saved as .kcb in there. If those are the only two software tools you use, then you are limited to not touching the CSS HTML.
  
  Some refinements can be done in .kcb (images etc), some cannot (not CSS). We have not done any extensive editing inside a .kcb (other than adjusting the TOC) because everything we prep (CSS-HTML-JS) is done before it goes through that final KDP tool (as the mere final checkpoint before going live onto Amazon). We essentially proofed our product using epubcheck (and other means before going converting it in Kindle Create. Kindle Create software is as effective tool specifically designed to easily market product through that source (Amazon).
  
  An earlier post described creating their base story in 'OO', the importing it into Calibre, adjusting some code there (if need), then saving it as an epub ready product, which is then uploaded into Kindle Create to be converted as the last step into .kcb and then going live (if all passed).
  
  Free tools like Calibre, and Sigil are quite common (and fairly easy) to use (in epub creation) if you don't want to commit to higher priced software tools for epub making. Though its an external post, here are some comments that others spoke about the same issue:
  
  [MobileRead](https://www.mobileread.com/forums/showthread.php?t=355224)
  
  Tools like Calibre/Sigil are worth that middle step (if you have the time to learn it). It allows that leeway to make those (hopefully) rare tweaks to the CSS/HTML that may be needed before converting it into .kcb at Kindle Create.
  
  Even the KDP help pages speak plenty about CSS HTML code, and they presume that the person making the epub will have the software to access some of that code (if or when needed).
  
  [KDP help](https://kdp.amazon.com/en_US/help/topic/GH4DRT75GWWAGBTU#margin_formatting)
  
  Kindle Create is known for re-formatting the prepped CSS code (even we encounter it), and when you view it in .kcb you can sometimes get a surprise (for KDP can and may strip out certain CSS code) and re-format it their way.
  I've also did a bit of web reading to see if we've overlooked any ideas for you, but there really aren't other options than to take the slower longer path through additional middle ground software.
  
  That midway epub software (where you can make those types of adjustments to the CSS and HTML) is merely a choice to either have or have not (between the base raw writing) and the final Amazon KDP .kcb file to its live end product.
  The more you want to tweak an epub (before it reaches Kindle Create .kcb terrain) the more you will need that midway software tool (like Calibre/Sigil/etc).
  
  Or the rough road....learning the CSS HTML direct coding method.
  
  Or...the costlier route of higher end epub creation software designed to cover all those CSS HTML tasks inside its own specialized software.
  
  > **Comments:**
  > **username_0**: Many thanks for this. Unfortunately, although I know some CSS, I don't know how to put it into any kind of file that I know how to get a .kcb file from. I'd be grateful for a link that will help me fill this gap in my knowledge. Or are you advising not to use .kcb?  
  > **username_1**: We added a longer explanation in our post above -- to answer your question.  
  
  ---
  
  