You need to look at the HTML in the Mobipocket file created by Mobipocket creator. It will have converted that CSS into some explicit tags. Use those instead with Calibre, and the background should show up. It's not a case of just having specified the colour incorrectly.
Quote:
Originally Posted by AlexBell
I'm still messing around comparing the output of Calibre for Mobipocket files to that of Mobipocket Creator, and am about to give up on Creator.
But there does seem to be one small thing which works better with Creator than with Calibre.
In the HTML there is a line
<p>
The text at the end of this line should have a <span class="greyed">grey background</span>.
</p>
and the CSS for class='greyed' is
.greyed { color: black; background-color: #C0C0C0; }
In the prc generated by Mobipocket Creator the background is indeed grey, while in the mobi generated by Calibre it is not.
Is there a colour which will show in mobi's generated by Calibre? Or is my HTML/CSS wrong?
Regards, Alex
|