Answers.Body: <p>I'm not answering the main part of your question, which is what are the capabilities of fixed layout ebooks. I think someone with a moderate amount of experience on reflowables could do a reflowable version provided that readers were informed to use a minimum screen resolution (768 pixels width?) and not  use devices older than K4. </p>
  
  <p>Fyi there is an issue with  Google Play Books which does not honor this bit of code: </p>
  
  <pre><code>img {
  page-break-after: always !important;   
  }
  </code></pre>
  
  <p>That makes it impossible to do a page break using css alone in Google Play Books. I'm pretty sure this code works on Kindle devices and other reading systems though. </p>
  
  <p>For a reflowable book, you probably could use css media queries to ensure that each display size works on Kindle. The css breakpoints I use are 320-767px width (both portrait and landscape), 768-1500 (landscape), 1500+ (landscape), 768-1024 (portrait) and 1025+ (portrait). You should use high resolution images and then let Kindle downsize them when needed. Each css media query should specify a different size for the div container which contains the image. </p>
  
  <p>On Kindle the css max-width isn't supported, so I use the code here: <a href="https://kdp.amazon.com/community/thread.jspa?messageID=1005910" rel="nofollow noreferrer">https://kdp.amazon.com/community/thread.jspa?messageID=1005910</a></p>
  
  <p>If you do reflowable, you could declare that ebook is only for tablets and not for phones (that's the easiest thing!). For smaller screens you could split the content into 2 screens, but it wouldn't be optimal. </p>
  
  <p>A lot of testing would be involved, but it wouldn't be impossible. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-25T01:06:49.633Z
Answers.Text: thanks for taking the time to write up your thoughts. I didn't know media queries were a possibility. I think I could live with that approach. Interesting about Google Play Books. I've (so far) not seen an issue with <code>page-break-after: always;</code> ... also css max-width not being supported worried me as well. so thank you for the reference!
Answers.UserDisplayName: Math Misery
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-25T01:07:36.297Z
Answers.Text: ah and I +1'd you, but my rep on ebooks is too low for it to show up for public display.
Answers.UserDisplayName: Math Misery
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-24T23:15:00.747Z
Answers.LastActivityDate: 2017-06-24T23:15:00.747Z
Answers.UserDisplayName: idiotprogrammer
Body: <p>I am putting together a puzzle book. In fact, I have been able to get the book organized into a valid <code>.epub</code> format. However, when I go to view the book on Amazon's Kindle Preview, the layout is less than desirable on the "Phone" and "Kindle e-Reader" options. The content shows fine when I view it through a web browser or if I open it through Google Play from a variety of tablets or if I view it on Kindle Preview's Tablet view --- and that was how I had tested it.</p>
  
  <p>The dilemma is this. The puzzle book format in order for it to make sense needs to have certain elements together. The general layout each page is this (pretend there's a stylesheet somewhere and there are <code>div</code>s in various spots)</p>
  
  <pre>
  <h1>Puzzle #</h1>
  <h2>Puzzle Goal</h2>
  <h3>Number of Possible Solutions (with link to solution page)</h3>
  
  Puzzle Image HERE
  
  </pre>
  
  <p>I need for the image to not get tossed on to the next "page" (another swipe). I want each puzzle to be self-contained on one screen regardless of the device. I've tried to have the image auto resize, but this behavior isn't always reliable and if the user chooses a different font setting, auto resizing is irrelevant since the image will simply be too big.</p>
  
  <p>I did some digging around on Amazon's website and found this
  <a href="https://kdp.amazon.com/en_US/help/topic/A1WQ3CZGEVWE1V" rel="nofollow noreferrer">https://kdp.amazon.com/en_US/help/topic/A1WQ3CZGEVWE1V</a> which effectively says that if you have a book that is image heavy then you want a fixed layout file format.</p>
  
  <p>So I read Amazon's Kindle Publishing Guidelines: <a href="http://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf" rel="nofollow noreferrer">http://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf</a> to see what it would take to get everything converted to fixed layout file format. From what I gathered, every page has to be its own separate HTML file, with its own stylesheet. I have 100 puzzles, with accompanying solutions making this effectively a 200+ page book (intended).</p>
  
  <p>Thus, my questions are as follows:</p>
  
  <ol>
  <li>Is the fixed layout file format, the only way to achieve what I'm after (without making the entire page itself an image)?</li>
  <li>Is it true that I <em>have</em> to have a separate stylesheet for each page for fixed layout file format? If so, why?</li>
  <li>Can I have &lt;a&gt; tags in a fixed layout book? (so that I can link to a puzzle's solution and also have a link from the solution back to the original puzzle, among other things)</li>
  </ol>
  
  <p>I ask these questions because this looks like a considerable amount of work and if there are alternative methods in a reflowable way that aren't too much work, I'd rather that. Or if you happen to know some way of taking an existing .epub file which looks as desired in a .pdf [one puzzle on each page] and converting that to fixed layout, I would greatly appreciate a point in the right direction for how to do that.</p>
  
Tags: <conversion><ebook-management><fixed-layout>
Title: Fixed Layout vs Reflowable For A Puzzle e-Book
UserDisplayName: Math Misery
ThreadText: # Fixed Layout vs Reflowable For A Puzzle e-Book
  
  (Asked by: username_0 on 2017-06-24)
  
  I am putting together a puzzle book. In fact, I have been able to get the book organized into a valid .epub format. However, when I go to view the book on Amazon's Kindle Preview, the layout is less than desirable on the "Phone" and "Kindle e-Reader" options. The content shows fine when I view it through a web browser or if I open it through Google Play from a variety of tablets or if I view it on Kindle Preview's Tablet view --- and that was how I had tested it.
  The dilemma is this. The puzzle book format in order for it to make sense needs to have certain elements together. The general layout each page is this (pretend there's a stylesheet somewhere and there are divs in various spots)
  
  Puzzle #
  Puzzle Goal
  Number of Possible Solutions (with link to solution page)
  
  Puzzle Image HERE
  
  
  I need for the image to not get tossed on to the next "page" (another swipe). I want each puzzle to be self-contained on one screen regardless of the device. I've tried to have the image auto resize, but this behavior isn't always reliable and if the user chooses a different font setting, auto resizing is irrelevant since the image will simply be too big.
  I did some digging around on Amazon's website and found this
  https://kdp.amazon.com/en_US/help/topic/A1WQ3CZGEVWE1V which effectively says that if you have a book that is image heavy then you want a fixed layout file format.
  So I read Amazon's Kindle Publishing Guidelines: http://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf to see what it would take to get everything converted to fixed layout file format. From what I gathered, every page has to be its own separate HTML file, with its own stylesheet. I have 100 puzzles, with accompanying solutions making this effectively a 200+ page book (intended).
  Thus, my questions are as follows:
  
  Is the fixed layout file format, the only way to achieve what I'm after (without making the entire page itself an image)?
  Is it true that I have to have a separate stylesheet for each page for fixed layout file format? If so, why?
  Can I have  tags in a fixed layout book? (so that I can link to a puzzle's solution and also have a link from the solution back to the original puzzle, among other things)
  
  I ask these questions because this looks like a considerable amount of work and if there are alternative methods in a reflowable way that aren't too much work, I'd rather that. Or if you happen to know some way of taking an existing .epub file which looks as desired in a .pdf [one puzzle on each page] and converting that to fixed layout, I would greatly appreciate a point in the right direction for how to do that.
  
  **Tags:** conversion, ebook-management, fixed-layout
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-06-24. Score: 0
  
  I'm not answering the main part of your question, which is what are the capabilities of fixed layout ebooks. I think someone with a moderate amount of experience on reflowables could do a reflowable version provided that readers were informed to use a minimum screen resolution (768 pixels width?) and not  use devices older than K4. 
  Fyi there is an issue with  Google Play Books which does not honor this bit of code: 
  img {
  page-break-after: always !important;   
  }
  
  That makes it impossible to do a page break using css alone in Google Play Books. I'm pretty sure this code works on Kindle devices and other reading systems though. 
  For a reflowable book, you probably could use css media queries to ensure that each display size works on Kindle. The css breakpoints I use are 320-767px width (both portrait and landscape), 768-1500 (landscape), 1500+ (landscape), 768-1024 (portrait) and 1025+ (portrait). You should use high resolution images and then let Kindle downsize them when needed. Each css media query should specify a different size for the div container which contains the image. 
  On Kindle the css max-width isn't supported, so I use the code here: https://kdp.amazon.com/community/thread.jspa?messageID=1005910
  If you do reflowable, you could declare that ebook is only for tablets and not for phones (that's the easiest thing!). For smaller screens you could split the content into 2 screens, but it wouldn't be optimal. 
  A lot of testing would be involved, but it wouldn't be impossible.
  
  > **Comments:**
  > **username_0**: thanks for taking the time to write up your thoughts. I didn't know media queries were a possibility. I think I could live with that approach. Interesting about Google Play Books. I've (so far) not seen an issue with <code>page-break-after: always;</code> ... also css max-width not being supported worried me as well. so thank you for the reference!  
  > **username_0**: ah and I +1'd you, but my rep on ebooks is too low for it to show up for public display.  
  
  ---
  
  