Home
Analytics
<style> tag not working in dynamic html content
jiunarayan
<p>HI All</p>
<p> </p>
<p>I have a required to show html content from CLOB, where the html content comes with inline style width, going beyond(truncated) the pdfscreen. So I thought of using </p>
<p><style></p>
<div>.dynamicHTML td {</div>
<div>width:50% !important;</div>
<div>}</div>
<div>.dynamicHTML table {</div>
<div>width:100% !important;</div>
<div>}</div>
<div></style></div>
<div> </div>
<div> </div>
<div>But this is not working. Also found tat style tag was not rendering.</div>
<div> </div>
<div>Please help how to use style tag and also does it support css parent child relation ?</div>
Find more posts tagged with
Comments
mwilliams
<p>So, you're outputting to PDF and are having issues using inline styles? I'm guessing the style tag isn't working because of not being loaded in the head of the document, but I could be wrong on that. I know you can add a new style sheet to the viewer styles and add the style in the jsp pages to get the proper styling on your html that's loaded in a text box. I'd have to take a closer look at your scenario. Let me know about my question above. If you can provide an example I can run showing what you're currently doing, it'd give me a starting point for testing.
</p>
jiunarayan
<p>Thanks for the response.</p>
<p> </p>
<p>As per your response:</p>
<p> </p>
<p>I have attached
mwilliams
<p>I would suggest filing a bug or enhancement request in the bugzilla at eclipse.org/birt (see the community section).</p>