1 Attachment(s)
css help with Print Campaign tool
Hi folks,
I'm noob-cludging (my term) the Campaign Print tool for an older non-core ruleset, I'm doing ok but am stumped by a style sheet issue. When printing to html the text description section of a category, it displays it as inline and ignores the <p></p> sections of the formatedtext. How can I get it to render each <p> section</p> to a new line?
Currently the text as:
Quote:
ÿ You hit the target for normal damageÿÿÿ You hit the target for +2 damageûû Perform a manoeuvre for freeüü Your target may disengage from you for free
I am looking for it to display as:
Quote:
ÿ You hit the target for normal damage
ÿÿÿ You hit the target for +2 damage
ûû Perform a manoeuvre for free
üü Your target may disengage from you for free
The section in the .db file:
Code:
<description type="formattedtext">
<p>ÿ You hit the target for normal damage</p>
<p>ÿÿÿ You hit the target for +2 damage</p>
<p>ûû Perform a manoeuvre for free</p>
<p>üü Your target may disengage from you for free</p>
</description>
The section in the print.xsl file that outputs it to html:
Code:
<div class="conservative"><xsl:value-of select="currentrecharge" />
<div class="ac_description"><xsl:value-of select="description" />
</div>
</div>
The outputted html file if anyone is willing to take a glance to help me out: