| 
			
			 | 
		#16 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | |
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 As for some thought in the "type-setting" of each book? I tend more to the belief that if it was common to have someone who had some experience in typography and page layout involved, I'd be editing a lot fewer books. This is especially noted with the books that are generated in a word processor and then converted to an ebook--rather often using calibre. Who has fonts such as Times New Roman, Calibri or Arial Dark on their ereader? For the most part, they are reflowable ebooks that are never going to be printed yet they are laid out as if a fixed page was desirable. Then there are the ebooks that use a mass of media queries which don't work too well on most ereaders using RMSDK based renderers leading to such odd looking items such as having both a swoosh and a "* * *" for scene breaks. Then we have the dear folks who love to specify everything in absolute units. Yes, I will admit that quite a few of ebooks I edit for my personal use tend to have consistent page layout and typography (sounds ever so much better than boring   ).  For me, it's the words that matter though it was fun figuring out how to display spiral text for one ebook.
		Last edited by DNSB; 08-16-2019 at 01:17 AM. Reason: Spelling -- purely optional isn't it?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878 
				Karma: 2457540 
				Join Date: Nov 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | |
| 
			
			
			
			 Lector minore 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 661 
				Karma: 1738720 
				Join Date: Jan 2008 
				
				
				
				Device: Aura One, Paperwhite Signature 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I tend to specify margins in % so the amount of screen space used is somewhat consistent across my devices.  Pixels are a pain when the screens vary from 600x800 to 1440 x1920 just for my eInk devices.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086 
				Karma: 6719822 
				Join Date: Jul 2012 
				
				
				
				Device: Palm Pilot M105 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 A Hairy Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,397 
				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 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			For your own personal use - use whatever you want - em or even %/px/in *shudder*.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	If you are going to sell it, you don't have to define ANY indents....that's the whole reason the apps/readers/users can adjust the indent to THEIR preference.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kobo cannot adjust indents and apps that do, get it wrong. They tend to screw up indents of 0 as in a new chapter or start of a section break. It's best to use indents. A lot of publishers use 1.2em and some use 1.5em. I have seen 1em but don't like 1em. 1.2em is best (IMHO). A % is much more noticeable with different screen sizes.  Someone could create the eBook using a % that works on a 6" 800x600 screen but read the same eBook on a 7" 300DPI screen and the indent may not look good. em is the best as you as the reader will usually use the same font size on your Reader.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086 
				Karma: 6719822 
				Join Date: Jul 2012 
				
				
				
				Device: Palm Pilot M105 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I agree that using no margins is the way to do it. It's only old readers like Sony Readers where you have no option to change the margins. That's one reason why I went for the red because if the text is up against the bezel, it's still readable because it's not black on black (or almost black).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97 
				Karma: 200000 
				Join Date: Aug 2019 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 But I don't see what the difference between "body p" and just "p" would be - they both would always match every "p" as you can not have a "p" that isn't a child of "body".  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306 
				Karma: 13057279 
				Join Date: Jul 2012 
				
				
				
				Device: Kobo Forma, Nook 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 https://www.youtube.com/watch?v=c0kfcP_nD9E The more specific thing wins.* * (For the most part, there are a lot of edge cases... which is why it's a good idea to keep your CSS simple instead.)  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#28 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086 
				Karma: 6719822 
				Join Date: Jul 2012 
				
				
				
				Device: Palm Pilot M105 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I think I should have said "body > p" rather than "body p".  The first is immediate children, the second is all descendants.  Specificity often trips me. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I try to keep my CSS simple but I also want to have HTML that isn't full of tags with class="whatever".  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#29 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Actually, I find it easier to just define p as what most p is going to be and use classes for when I need/want to change p. I don't like any CSS where you cannot change the order of the classes or it fails for work correctly. That makes things more complex and the idea is to keep the CSS as simple as possible. No need to make things more complex. body > p does make thing more complex as you should be using a header for the chapter titles. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Also, sections are ePub 3. Keep it simple and keep it ePub 2 compatible unless you can't. But the way it sounds, you might be making it more complicated. A lot of reading software doesn't do ePub 3 and if you make it be specifically ePub 3, it won't display properly. So the question is, do you really need to make this eBook ePub 3 specific? Last edited by JSWolf; 09-01-2019 at 02:15 PM.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Overriding Ebook Stylesheet | Archuleta | Kobo Reader | 3 | 05-03-2016 11:48 PM | 
| iBooks Night Mode Overriding CSS | zephyrmays | ePub | 23 | 08-01-2015 12:12 AM | 
| Overriding Proportional Spacing | townsend | Sigil | 6 | 05-02-2013 11:22 PM | 
| Overriding CSS ".articledescription" | miwie | Recipes | 6 | 01-18-2011 12:30 PM | 
| Problem Overriding Recipe | rozen | Calibre | 3 | 12-15-2010 12:52 PM |