View Single Post
Old 05-29-2015, 04:54 AM   #11
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Jellby View Post
Fine, but then you shouldn't be using <h1> elsewhere. Is anything else the same level as the book's title?
Yeah. THE BOOK's TITLE which is repeated on the "Title page" following.
As I said.

Quote:
If you use <h1> for the title, use <h2> or lower for the chapters.
OF COURSE.
As I said.

Didn't you bother to read my post?



Quote:
Still, using <br/> for whitespace is bad style. For one thing, you can't easily modify the amount of space (just by changing the number of <br/>), and if you want to change it, you have to change the content (HTML), rather than the formatting (CSS), which is where all style changes should be done. Another problem is that the <br/>s can be selected and copy-pasted, and they break across pages.
In general, yes, br are dumb spacing.
I don't use them under repeated headings.

But there are no pagebreaks here, unless you have an absurdly tiny screen, when it will look like shit no matter how I code it.



Quote:
Yet you clutter the HTML with <br/> tags and "style" attributes. My method is to create a special CSS file for the title page, so I keep the styling of the main text and the title page separate to a large extent.
So you create a separate CSS file for one page?
For styles used once?

And that is "uncluttered?

Not in my book, in any sense.



Quote:
Originally Posted by Jellby View Post
Anyway, it's your book and your decision, do what you like best. I just wanted to give some advice of what is widely considered as good styling practice, and I believe most experienced book creators would agree that it pays off in the long run.

"Widely considered"?
It's your opinion, that's all.

I've been in publishing for 25 years and coding HTML for almost as long.

So don't razz me about "experienced book creators".
I know how dirty and ad hoc the code most "experienced book creators" create is.

Last edited by AlanHK; 05-29-2015 at 05:18 AM.
AlanHK is offline   Reply With Quote