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-02-2009, 01:34 PM   #1
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,857
Karma: 85498352
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Sony PRS-505, text indents, paragraph spacing

Using the splendid new Sigil I'm working on creating an ePub and testing it on the PRS-505.

Despite the preview in Sigil showing paragraphs having a text indent, and no spacing between paragraphs, on the PRS-505 and Adobe Digital Editions I see no indent and a space between paragraphs.

I'm specifying the indents and spacing in the CSS like this:
p { text-indent: 1em; margin-bottom: 0em; margin-top: 0em }

and the paragraphs in the text are coded like this:

<p>My instruction in her history is derived from unimpeachable sources, not hitherto available;
much is lost through the interception of time and natural accident; but, from that which remains,
the present work has been studiously and faithfully compiled.</p>


What's going wrong? Can't Adobe Digital Editions handle CSS properly?

Any advice gratefully received.
pdurrant is offline   Reply With Quote
Old 08-02-2009, 01:38 PM   #2
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: 36,239
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Check the actual code and see if there is something that's being specified that's overriding the p in the CSS.

Or you could post the ePub and I'll have a look at it and see what I can find.
JSWolf is offline   Reply With Quote
Old 08-02-2009, 02:34 PM   #3
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,857
Karma: 85498352
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Ah - so it should work then? In that case I'll look a bit closer, and perhaps try simplifying things until it works. Thanks.

Quote:
Originally Posted by JSWolf View Post
Check the actual code and see if there is something that's being specified that's overriding the p in the CSS.

Or you could post the ePub and I'll have a look at it and see what I can find.
pdurrant is offline   Reply With Quote
Old 08-02-2009, 04:34 PM   #4
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,857
Karma: 85498352
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by pdurrant View Post
Ah - so it should work then? In that case I'll look a bit closer, and perhaps try simplifying things until it works. Thanks.
How embarrassing. It seems I had a syntax error (an extra closing } ) at the end of my CSS styles. Apparently this causes ADE to throw away all the styles. Fixing this fixed things up a lot. Including getting my drop capital graphics to work as drop capitals. Hooray!
pdurrant is offline   Reply With Quote
Old 08-02-2009, 04:36 PM   #5
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
those pesky extra closing brackets ! they're quite annoying. glad you caught it.
zelda_pinwheel is offline   Reply With Quote
Old 08-03-2009, 03:50 AM   #6
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: 36,239
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Another annoyance I've found in CSS is having a missing ; can cause problems.
JSWolf is offline   Reply With Quote
Old 08-03-2009, 05:51 AM   #7
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,001
Karma: 4346921
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The CSS validator can be useful, I think it should be included in epub validators.
Jellby is offline   Reply With Quote
Old 08-03-2009, 06:03 AM   #8
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,857
Karma: 85498352
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Hmm... an XHTML and CSS validation command would be a nice addition to Sigil. I'll add it to his list!

Quote:
Originally Posted by Jellby View Post
The CSS validator can be useful, I think it should be included in epub validators.
pdurrant 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
Adding indents / removing line spacing for news jubcoo Calibre 4 10-27-2010 04:39 PM
Paragraph spacing jhempel24 Calibre 5 08-24-2010 12:14 AM
Fustrating Text spacing (BUG?) in BD, Sony 505 bookstar Sony Reader 2 03-25-2009 12:47 PM
convert to lrf : paragraph indents, line breaks karo02 Calibre 4 01-27-2009 09:19 AM
Paragraph indents from command line JSWolf Calibre 4 11-06-2008 08:41 PM


All times are GMT -4. The time now is 03:52 AM.


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