View Single Post
Old 03-08-2011, 08:00 AM   #1
hiperlink
Enthusiast
hiperlink began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
Unhappy Justification problem even with extra css

Hi All!

I had created an almost complete recipe for a hungarian cultural magazine, http://www.es.hu/ and my almost last TODO item is to justify the article paragraphs.

The recipe can be viewed here: https://gist.github.com/860238

I have an extra_css in it
Code:
extra_css = '''
                    body { background-color: white; color: black }
                    .article1 { text-align: justify; }
                    p { text-align: justify; }
                    .calibre8 { text-align: justify; }
                '''
I convert it via ebook-convert commandline and using the option:
Code:
--change-justification justify
But still, in my debugdir I can see (in the processed dir stylesheet.css ) that some item was set to "text-align: left" and especiall .calibre8, which was set above to justify.

What am I doing wrong?

Thanks in advance!
hiperlink is offline   Reply With Quote