View Single Post
Old 11-28-2019, 09:57 AM   #10
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,368
Karma: 20212733
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
um...

Code:
p {font-size: 1em}
h1 {font-size: 2em}
h2 {font-size: 1.5em}
h3 {font-size: 1.17em}
h4 {font-size: 1em}
h5 {font-size: .83em}
h6 {font-size: .67em}
I do believe you are pushing your preferences (again), and perhaps don't understand what "eg" means. It means "for example"...(and for my Latin Teacher wife: It is short for the Latin exempli gratia, “for the sake of example.”) I was giving an example of how to set CSS using relative sizes in EMs, not telling people how they should style their books.

Quote:
Originally Posted by JSWolf View Post
h1 is 2em by default. 200% would be 4em.
As RbnJrg mentioned, is not correct. h1 might have a 2em default value, but when you specify a value in css then it over-rules any default value - it does not multiply the default value.
Turtle91 is offline   Reply With Quote