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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2012, 08:19 PM   #1
msmith65
Enthusiast
msmith65 began at the beginning.
 
msmith65's Avatar
 
Posts: 31
Karma: 10
Join Date: Aug 2012
Device: Kindle
First Line Indent on iPhone Kindle, not Kindle Fire

I've used the Kindle Previewer to make a .mobi file for view on an actual Kindle Fire. It looks just right.

When I put the same .mobi file on an iPhone, the first line of each paragraph is indented - I don't want that.

The headings come out fine on iPhone. Just the paragraphs have the first-line indents.

Any thoughts? Here's my stylesheet minus the metadata up top:

Quote:
h {font-family:"Bookman Old Style";margin-bottom: 0em; margin-top: .3em; page-break-before:never; }

h1.style1 {font-family:"Bookman Old Style";text-align:left;color:rgb(50, 158, 255);page-break-before:always;}
h2.style1 {font-family:"Bookman Old Style";text-align:left;color:rgb(50, 158, 255);page-break-before:always;}
h3.style1 {font-family:"Bookman Old Style";text-align:left;color:rgb(50, 158, 255);}
h3.sigilNotInTOC {font-family:"Bookman Old Style";text-align:left;color:rgb(50, 158, 255);}
hr.style1 {text-align:center;color:rgb(300, 300, 300)}
h4.style1 {font-family:"Bookman Old Style";text-align:center;page-break-before:always;}




p {margin-bottom: .6em; margin-top: .6em }
.style1 {
font-family:"Bookman Old Style"; text-align:left; height="120"; text-indent: 0em;}

.style2 {
font-family:"Bookman Old Style"; text-align:center; height="120"; text-indent: 0em;page-break-before:always;}

.style3 {
font-family:"Bookman Old Style"; text-align:left; height="120"; margin-left:2em; margin right:2em; font-style: italic;}
msmith65 is offline   Reply With Quote
Old 08-23-2012, 09:12 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,269
Karma: 42123822
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You're really not asking Sigil questions here.
DiapDealer is offline   Reply With Quote
Old 08-23-2012, 09:25 PM   #3
msmith65
Enthusiast
msmith65 began at the beginning.
 
msmith65's Avatar
 
Posts: 31
Karma: 10
Join Date: Aug 2012
Device: Kindle
Quote:
Originally Posted by DiapDealer View Post
You're really not asking Sigil questions here.
I edited the file as a .epub in Sigil.
msmith65 is offline   Reply With Quote
Old 08-23-2012, 10:12 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,859
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by msmith65 View Post
I edited the file as a .epub in Sigil.
If it Passes Flightcrew and renders fine in Sigil or Calibre, it is a device problem.
I-phones and others don't do Sigil level EPUB well.
theducks is offline   Reply With Quote
Old 08-24-2012, 12:52 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,011
Karma: 3594657
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Which is actually an Apple issue and not a Sigil issue. Sigil delivers valid coding.

Btw, the text-align: center for your hr tag will not work.
Toxaris is offline   Reply With Quote
Old 08-24-2012, 03:41 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,195
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Toxaris View Post
Btw, the text-align: center for your hr tag will not work.
... because "text-align" refers to the alignment of (inline-level) content inside the element, not to the positioning of the element itself, which is controlled only with margins.
Jellby is offline   Reply With Quote
Old 08-24-2012, 03:55 AM   #7
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,011
Karma: 3594657
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Correct, if you need to center a horizontal line, make the left and right margin of that line equal.
Toxaris is offline   Reply With Quote
Old 08-24-2012, 09:55 AM   #8
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
But it really should not be that complicated.
mrmikel is offline   Reply With Quote
Old 08-24-2012, 10:15 AM   #9
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,859
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by mrmikel View Post
But it really should not be that complicated.
Those are the facts.
Forget should.
That is the work-around for ADE (and there are others needed)
other, so called EPUB's are worse in their quirks
theducks is offline   Reply With Quote
Old 08-24-2012, 10:37 AM   #10
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,195
Karma: 4800739
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
p {margin-bottom: .6em; margin-top: .6em; text-indent: 0 }

try that.
Jellby is offline   Reply With Quote
Old 08-24-2012, 11:37 AM   #11
msmith65
Enthusiast
msmith65 began at the beginning.
 
msmith65's Avatar
 
Posts: 31
Karma: 10
Join Date: Aug 2012
Device: Kindle
Quote:
Originally Posted by Jellby View Post
p {margin-bottom: .6em; margin-top: .6em; text-indent: 0 }

try that.
This lowered the amount of first-line indent in iPhone, but did not eliminate it.

Thank you for the idea.
msmith65 is offline   Reply With Quote
Old 08-24-2012, 11:40 AM   #12
msmith65
Enthusiast
msmith65 began at the beginning.
 
msmith65's Avatar
 
Posts: 31
Karma: 10
Join Date: Aug 2012
Device: Kindle
I kludged a workaround by a) placing a <br /> right after the <p> tag in the first line of every paragraph I did NOT want indented, and b) lowering the space between paragraphs.

Good, but there's still a lot of air between pargraphs. The client likes it.
msmith65 is offline   Reply With Quote
Old 08-24-2012, 12:07 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,685
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by theducks View Post
If it Passes Flightcrew and renders fine in Sigil or Calibre, it is a device problem.
I-phones and others don't do Sigil level EPUB well.
It should render fine in ADE. You should not use Sigil or FC as a final testbed.

Last edited by JSWolf; 08-24-2012 at 12:13 PM.
JSWolf is offline   Reply With Quote
Old 08-24-2012, 12:09 PM   #14
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,685
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by msmith65 View Post
Any thoughts?
I have a possible solution. Don't use iBooks. Install Bluefire Reader and use Blufire instead of iBooks.
JSWolf is offline   Reply With Quote
Old 08-24-2012, 12:12 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,685
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by msmith65 View Post
I kludged a workaround by a) placing a <br /> right after the <p> tag in the first line of every paragraph I did NOT want indented, and b) lowering the space between paragraphs.

Good, but there's still a lot of air between pargraphs. The client likes it.
The client likes it? Why? Also, if you are going to get paid to produce an eBook, make it look good and make the code underneath look good as well. All you are doing is using poor code and cheating the client. You don't kludge something together that you are getting paid to do. You do it correctly with CSS and proper coding..

Why is it publishers are giving the job of making eBooks to people who have no clue? This does explain a lot about why we have poor formatting and many errors.

Last edited by JSWolf; 08-24-2012 at 12:14 PM.
JSWolf 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
How to remove additional line spacing on Kindle fire Merischino Calibre 2 05-26-2012 01:24 PM
Kindle Fire woes... indent and media Queries Oxford-eBooks Kindle Formats 11 04-10-2012 10:08 PM
Free Book (Kindle) - In the Line of Fire koland Deals, Freebies, and Resources (No Self-Promotion) 13 02-27-2012 11:26 AM
New Mobi files and Kindle's first line indent eggheadbooks1 Kindle Formats 7 06-16-2011 08:21 PM
New Mobi files and Kindle's first line indent eggheadbooks1 Conversion 1 06-13-2011 07:29 AM


All times are GMT -4. The time now is 01:04 PM.


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