View Single Post
Old 02-28-2023, 10:22 AM   #16
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,023
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by JSWolf View Post
You don't need widows and orphans any other place in the CSS but body.
Yes, you do as otherwise it does not work in kobo devices. The <body> setting is not inherited by <p> and <div> (which it should, but is not), otherwise I would not have this construct.

Quote:
Originally Posted by JSWolf View Post
Also, you don't need a font size of 1em. 1em is the default font size.
I like to make my defaults visible, thank you. Old programming habit. YMMV.

Quote:
Originally Posted by JSWolf View Post
And you don't need justify except in body.
I like to justify just my paragraphs, thank you. YMMV.

Quote:
Originally Posted by JSWolf View Post
And don't use % for a margin as it changes based on the screen/window size.
That was what I intended: bigger screen, more margin. YMMV.

Boy, that were a lot of "don't-s", don't you think?
DrChiper is offline   Reply With Quote