![]() |
#1 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,584
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
epub, ADE and CSS puzzle
I have a puzzle. ADE isn't honouring one of my CSS styles, but only if it's in a certain position in the CSS code!
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 |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Could it be the missing semicolon in
Code:
.centre {text-align:center; margin-left:0; margin-right:0}
|
![]() |
![]() |
![]() |
#3 |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
|
![]() |
![]() |
![]() |
#4 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,584
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |