View Single Post
Old 10-09-2014, 06:38 PM   #202
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jackie_w View Post
This stylesheet contains 3 occurrences of !important. You could try surgically removing them. I've had enough trouble with this in the past that I now always remove them before sending to a Kobo. If the css is well-designed it should never be needed anyway (IMO ). I've had numerous occurrences of an epub displaying on a Kobo as if none of the css was being used, i.e. everything left-aligned, no paragraph indents, 'blank line' between every paragraph. When I've opened up the epub to investigate it has always contained at least one !important. Removing them has always fixed my problem.

BTW, in addition, there doesn't seem to be a space before !important which I would have thought is an error, e.g.
Code:
div.abbildung.with_thumbnail p.link_toFullsize {
text-align:left;
text-indent:0!important;
}
Yes, I thought of those. But, I couldn't see why they would cause the problem after a calibre editor beautify was run on it. I'll try removing them tonight to see what happens.
davidfor is offline   Reply With Quote