Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-02-2019, 09:40 AM   #16
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,327
Karma: 870750
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by RbnJrg View Post
But to set a font-size in percents is exactly the same as setting it in em. That is, if you has for your -for example- "h1" style the following:

Code:
h1 {
    font-size: 200%;
}
is the same if you write:

Code:
h1 {
    font-size: 2em;
}
A different thing is if you set a margin in percentage or ems; here a percentage means a percentage of the screen size while a margin in "ems" means a margin based on the font-size you are using in the respective style.
Yeah, I have no idea why I developed the style sheet the way I did, except that it "looks good to me" in every reader and app I have been able to try. "Looks good to me" is the iron rule that guides my life.
Notjohn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Percentage in IBooks Klippy Apple Devices 2 06-18-2015 04:29 PM
Percentage Read ParadiseLost Calibre 1 04-08-2013 12:24 AM
Problem with Percentage Measurements verydeepwater Kindle Formats 5 02-19-2013 12:08 PM
Percentage of all books sold jbcohen News 11 04-24-2012 07:08 PM
Percentage of Readers patrickt General Discussions 44 09-08-2010 11:01 AM


All times are GMT -4. The time now is 05:46 PM.


MobileRead.com is a privately owned, operated and funded community.