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
|