Hello I’m using iTextSharp for converting my HTML to PDF. I’m figured out how to add simple styles like
.mystyle { color: red; width: 400px; } With the following code - StyleSheet css = new StyleSheet(); css.LoadStyle("mystyle", "color", "red"); css.LoadStyle("mystyle", "width", "400px"); But what happens when I’ve complex styles like this? div .myclass { /*some styles*/ } .myclass .myinnerclass { /*some styles*/ } How to add it using iTextSharp? Regards Raghavendra NLV -- View this message in context: http://itext-general.2136553.n4.nabble.com/Rendering-complex-css-styles-tp3380994p3380994.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php