|
|
#1 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,326
Karma: 73595938
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
epub, ADE and CSS puzzle
This could just be weirdness on ADE's part, in which case I can't do anything expect try to work around it. But perhaps I'm doing something wrong. So - I offer for inspection two epubs. They differ only in the CSS, and then only in the position of one line of the CSS - the one defining the p.first class. In Sample 1, the first paragraph is incorrectly set with a text indent of 1em, pushing the picture into the text, and indenting the first line away from the picture. In Sample 2, everything works as it should. I'd be most grateful for any comments. Oh - and these are generated by Sigil 0.1.3
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Need professional help formatting your ebook? Send me email.....................Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
#2 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,145
Karma: 2505637
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
Could it be the missing semicolon in
Code:
.centre {text-align:center; margin-left:0; margin-right:0}
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Yep, that did it for my test Sample1.epub version, but the Sample2.epub has the same error and it worked originally. Another ADE oddity?
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
#4 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,326
Karma: 73595938
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
Thank you - that's the problem. I thought I'd run that lot through a syntax check, but obviously /before/ I made that typo!
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Need professional help formatting your ebook? Send me email.....................Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Styling Elements in CSS - ADE and Sony | toskpro | Sony Reader | 0 | 07-19-2010 01:55 PM |
| ADE mit userstyle css | mtravellerh | PocketBook | 0 | 05-21-2010 03:40 PM |
| CSS odd behavior with ADE/Sony Reader | AbominableDavid | Sigil | 10 | 03-26-2010 09:16 PM |
| ePub to ePub - just replace CSS? | ChristopherTD | Calibre | 21 | 02-11-2010 02:50 AM |
| ePub, ADE and Images puzzle | pdurrant | ePub | 11 | 09-05-2009 10:02 AM |