View Single Post
Old 05-04-2019, 10:12 AM   #35
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
Sorry, but that won't work on most Readers that handle ePub. The version of ADE used may not support font-variant. So if you use it, don't expect it to work. So you have to do simulated small-caps. And don't make the small-caps too small as a lot of publishers do.
Quote:
Originally Posted by JSWolf View Post
There may not be a way to do a two line chapter title/subtitle such that the auto ToC generator gets it correct. That's the problem. Also, I've see <h2> used for the main chapter heading and <h3> used for the subheading. That would also allow for both the heder and subheader to be auto added to the ToC. But you would still have to edit the ToC if you wanted the ToC to include the subheader.
Jon you totally missed the boat....

The example is designed to show how to do multiple lines with a single <h?> tag, how the proper use of display:block works, and that by using it properly the auto TOC functions work just fine.

It is NOT designed to show all the different styling possibilities like font-variant - I just like small caps and it works on my devices so I use it... I'm not going to filter my advice just because some, IMO inferior , devices can't handle proper CSS. (looking at you ADE)

If you note the "/* (however you want to style it) */" at the top of the CSS section you could deduce that the OP could style it.....wait for it.... however they want to style it.


Cheers,
Turtle91 is offline   Reply With Quote