View Single Post
Old 03-25-2011, 06:51 AM   #1
poldem
Member
poldem began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Mar 2011
Device: kindle
setting italic style problem

I have made a simple recipe.
It works as expected, but I can not force a text to italic.
It correctly decodes post-meta (the content appears in the resulting document, so it is not misspelled), but it is not italic.
The relevant part of this recipe is listed below

no_stylesheets = True

extra_css = '''
body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
.entry-content{font-family:Helvetica,Arial,sans-serif; font-size:small;font-style: italic; }
.single_post_title{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
'''

keep_only_tags = [
dict(name='div', attrs={'class':'single_post_title'}),
dict(name='div', attrs={'class':'post_meta'}),
dict(name='div', attrs={'id':'_iprom_inStream'}),
dict(name='div', attrs={'class':'entry-content'}),
]

have also tried this without blanks before italic value, but no difference.
Please suggest what to do.

Thanks !

SOLVED, it was a copy/paste error

Last edited by poldem; 03-26-2011 at 09:57 AM.
poldem is offline   Reply With Quote