08-16-2013, 04:52 AM | #1 |
Connoisseur
Posts: 97
Karma: 44418
Join Date: Jul 2013
Location: Mostly in my own head!
Device: Kindle Fire, iPad
|
Aldiko Ignoring Most of The CSS
Hi
I'm trying to create an ebook of a poem. To be true to the original, I need to format the paragraphs in a certain way. Now I know I've got the CSS right because when I tested it in IE, it displayed fine. (Well, more or less... just need to tweak the margin/padding values a bit) Unfortunately, Aldiko seems to be interpreting the css very differently; I'm guessing its ignoring the margin/padding settings completely. Firstly, I've attached a screenshot of what the poem should look like as displayed in IE. BTW, the poem is in Bengali and the embedded font and font-family declaration is working fine. Here is an extract of the text.html file: <p><span class="Class1">Some text</span><span class="Class2">Some more text on the same line but with a little space from the text before it<span></p> <p class="Class3">Some text on the next line which will be indented</p> Repeat the above two lines, then to insert a blank line: <p><br /></p> Here is an extract of the CSS: (I've omitted the font information since that's working fine) .Class1 {padding: 0 0 12px 0; text-indent:0; text-align:left;} .Class2 {padding:0 0 12px 30px;} .Class3 {padding: 0 0 12px 0; text-indent:48px; text-align:left;} That's it. But this portion of the CSS is being ignored, or so it seems to me. I do have publisher formatting enabled. There's a screenshot attached of how its looking in Aldiko. I've tried googling this but to no avail. Does anyone have any experience with this issue? I would really appreciate it if someone could suggest a workaround. Aldiko version is 2.2.3 Thanks Nabodita |
08-17-2013, 08:10 AM | #2 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Good Luck. |
|
Advert | |
|
08-22-2013, 08:33 AM | #3 |
Connoisseur
Posts: 97
Karma: 44418
Join Date: Jul 2013
Location: Mostly in my own head!
Device: Kindle Fire, iPad
|
I've already changed the settings to over-ride the Aldiko defaults; that's why the Bengali font is displaying at all.
Unfortunately, the program is still ignoring the paragraph formatting for the most part. Can someone spot something wrong with my code? I tested the file on IE... should I try another browser? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aldiko ebook reader not displaying CSS attributes | ebookn00b | Android Devices | 3 | 01-17-2013 03:20 PM |
Re: Aldiko ignoring style sheet property? | purcelljf | ePub | 6 | 11-19-2012 08:15 AM |
Aldiko Sync - Sync your Aldiko books/bookmarks across devices | GameGod | Android Devices | 52 | 08-21-2012 11:47 PM |
iBooks ignoring a:link css style | Alan Newson | ePub | 9 | 03-19-2012 07:49 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |