Quote:
Originally Posted by rurdyrucker
I'm not quite clear what it means to "flatten CSS" Does it simply mean to move the style definitions from an external CSS file into the HTML file itself? Or does it meant to replacve things like <strong><p class="bodytext"> Hello </p></strong? by something like <p class="strongbodytext">Hellow</p>?
...~~~...
This said, for a beginning EPUB maker, it works fine to just load the HTML or even the RTF into Calibre and let Calibre convert to EPUB and don't freak out over the kind of intricate styling statements that end up in the code.
|
For a "beginning epub maker" you seem to have a good grasp of how to format the ebook to get the effect you like.
I believe calibre takes any non-CSS controlled entities floating around the html and creates classes in the css for them. Examples of non-CSS controlled entities floating around the html: <strong>, <br />, <em>, <bold>, <font size="3" color="red"> etc... to equivalent code controlled from the CSS.
Good Reading.