View Single Post
Old 02-15-2017, 01:09 PM   #32
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Quote:
Originally Posted by DiapDealer View Post
You figured out the missing title tags
Yes. That were my minimization measures. Your comments were very instructive!

Quote:
Originally Posted by Turtle91 View Post
I cringe every time I see how bloated with calibre classes some books get. Most of them are unnecessary.
I also think so. What do you do about it?

Quote:
- Please do not use a class to describe your predominant <p> styling
- Please do not use a class to describe your <i> and <b> tags unless they are something other than the standard italics and bold
The code is a complete mess, I know. But so I got the book. I do that much smarter. Next I show here!

Code:
 - Please do not use empty paragraph tags (<p class="calibre69"> </p>) to create a space between items/paragraphs
So far I use <p>&nbsp;</p> for single empty lines. Or <p class="blanc">&nbsp;</p> to make empty lines traceable via Search: blanc.

<p class="space"> is editable via CSS p.space {whatever} - that's an advantage. I will follow you using <p class="space"> for 'non-standard spaces' between paragraphs.

I studied code & CSS - I understand everything but this:
Code:
p  {whatever styling you want your standard (98% of the book) paragraph}
Quote:
Originally Posted by JSWolf View Post
Some of the CSS is not needed. You do not need the i and the b styles as they are italic and bold as is.
That's correct!

Additional question: Is lang="de" superfluous?
Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="de"
Today it feels like a kind of Christmas and Easter, all in one. That was very friendly! you all. A fruitful thread.

Last edited by chaot; 02-15-2017 at 01:24 PM.
chaot is offline   Reply With Quote