I’ve used FlightDeck to check an ePub I exported from InDesign. It detected a number of errors I need assistance with. The first is this…
These files include inline styles.
* OEBPS/cover.xhtml
Content and presentation should be separate in EPUB files. Inline styles are difficult to edit easily and are not the best approach. We recommend that you move all of your styles to an external stylesheet.
Here’s the code from my OEBPS/cover/xhtml file:
[CODE]<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?>
<!DOCTYPE html>
<html xmlns=”https://www.w3.org/1999/xhtml” xmlns:epub=”https://www.idpf.org/2007/ops”>
<head>
<title>cover</title>
</head>
<body>
<div style=”text-align:center;” epub:type=”cover”>

</div>
</body>
</html>[CODE]
How do I change this code to fix the error listed above. The page should only have an image so I’m not clear why it even has a heading?
Second error message is also puzzling to me.
[Beginning of Error message] Text color should not be set to black using CSS, because the text will be unreadable in Night Reading Mode on some devices. This EPUB has the following CSS rules which set text to black. [End of error message]
The reason this one is confusing is because all the paragraph styles it mentions are not set to black. In fact they are set to registration in the paragraph styles. Therefore it seems indesign is overwriting the styles when it exports to ePub or at least that’s the best I can figure. How can this be corrected?