View Single Post
Old 06-14-2020, 02:31 AM   #58
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Sarmat89 View Post
Then which part of it is a "heading"?
You're hair-splitting, simply to try to win the argument that for some reason, heading elements--it's even their name, mind you--should be paragraphs. Hell, why not divs, while you're at it? Blockquotes? Why bother to use any standardized elements or CSS????

A chapter number is just that--the number. The chapter title, generally, is the heading. An epigram is just that--the epigram. Simply being grouped together, at the top of a given page, doesn't make all the elements "the heading." I mean, do the first two data rows of a table qualify as "heading rows" just because they're NEAR the heading?

The chapter number can either be part of the heading--or not. Some people can and do have chapters like:

01. The Beginning

Some have them like so:

01
The Beginning

And some have them in other layouts. When, as a designer, you choose to separate your elements with a line (or however), then it's up to you to figure out how you wish to build your TOC. You're conflating that Sigil built-in TOC-making ability, with the functionality of headings as structural elements. If Jane the bookmaker wants to put her chapter number at the right-hand margin and her chapter title centered, that doesn't mean that some piece of software is meant to automagically compensate for the design decision. Nor does that choice abrogate the idea that the bloody heading is structural.


Quote:
Also, you have to use CSS shenanigans to harmonize the h# elements with its p preamble prohibiting top space, page break before etc.
WHAT? Nonsense. That's sheer silliness. You have no more, or fewer, CSS elements around headings than paragraph classes for that. The CSS, after all, is what YOU design. So your p class and your hx class could look exactly the same. It is you who decides the "harmonizing" of the two.

I mean...you're not using Sigil's built-in heading classes for styling, are you? (I've seen people do that and a loooong time ago, when Cap was 'learnin' me" the ropes, I originally started out, in my PG-bookmaking days, trying to use heading styles as graphic styles, rather than as structural elements, but I thought that the difference and distinction were fairly well understood now.) The CSS determines the styling! And as I said, whether you have p's, div's or headings there for the chapter head, the CSS would be exactly the same to "harmonize" it.

"Prohibiting top space, page break before..." I absolutely don't understand what you're talking about here. YOU decide the CSS. Why would you need more or less CSS for a heading than a paragraph than a div? While there are some nesting restrictions to choose from between those three, in reality, you could, if you really wanted to (NOT saying that this would be a good idea!!) use those interchangeably and make them all look and work exactly the same. In terms of appearance, I mean.

So...what are you talking about? Seriously. I'm trying to understand what you're saying.

Hitch
Hitch is offline   Reply With Quote