View Single Post
Old 05-03-2019, 11:18 AM   #31
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 683
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Quote:
Originally Posted by Turtle91 View Post
Actually the CSS example he uses will achieve what was asked, he just did not include the html code:
Feel sort of funny to tell someone with your skills that they are dead wrong. (Which makes it likely I'm the one doing something wrong here... )

In this case the challenge was to have one sort of space between the two lines, and another between the second line _if_ it got split up on two lines on the device, within the same h#.

Your example did all that. Jon's didn't.

Your new example is shifting the goal post by moving the second line outside the header. You don't get a correct toc now, without adding other stuff.

But, it's yet another example of how one can do "two chapter lines", so it's still helpful.

Last edited by patrik; 05-03-2019 at 11:20 AM.
patrik is offline   Reply With Quote