View Single Post
Old 11-08-2010, 08:14 AM   #12
bigpallooka
Connoisseur
bigpallooka began at the beginning.
 
bigpallooka's Avatar
 
Posts: 86
Karma: 24
Join Date: Aug 2009
Device: Kobo/Tablet PC/Desktop/Laptop
Quote:
Originally Posted by ldolse View Post
Reverse Engineering seems to be easier, I agree with theducks - most html/css tutorials are aimed more at webmasters. Much of what's applicable to web is not applicable to epub.
This is really the crux of my post which was lost in my verbosity.

Quote:
Originally Posted by ldolse View Post
The layout of a typical book is pretty straightforward. I suggest you try to find sources that haven't been converted by Calibre - not to say that there is anything wrong with Calibre, it's just that Calibre converted HTML has a specific signature - specifically naming all the different CSS styles based on it's own normalization rules. If you find original good sources then the css styles typically have meaningful names that help you understand how the book was layed out.
What would be really helpful is if someone could recommend source books for this purpose. Maybe from Project Gutenberg?

Quote:
Originally Posted by ldolse View Post
xhtml is html - the difference is that xhtml must be 'perfect' in terms of opening and closing every tag. HTML spec is more relaxed.
That's what Wikipedia said so it must be true!


Quote:
Originally Posted by ldolse View Post
If you're editing stuff by hand you don't need to worry too much about xhtml - it's definitely good practice to close your own tags, but tools like Calibre/Sigil will constantly clean up after you when you make mistakes.
I've downloaded sigil but have been reluctant to use it just because it's another program with a learning curve.
bigpallooka is offline   Reply With Quote