View Single Post
Old 04-08-2012, 02:17 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by rurdyrucker View Post
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.
DoctorOhh is offline   Reply With Quote