Renu Deshpande 0 Newbie Poster

Hi all ,
Can anyone help me solving this issue.

I am using FCK Editor on my coldfusion page. Then I am generating PDF of the data using <cfdocument> tag.

If I format the text first and then set the background color , the background color is not rendered on PDF.

Consider the cases :

Case 1: Type the text , Select the text , Set background , then format the text.

Resulting html :

<span style="font-family: Comic Sans MS">
<b>
<span style="background-color: #ff0000">
COLOR-DISPLAYED
</span>
</b>
</span>

Output on PDF : Text rendered with background color and proper formatting.

Case 2: Type the text , Select the text , format the text , then set the background.

Resulting html :

<span style="background-color: #ff0000">
<span style="font-family: Comic Sans MS">
<b>
COLOR-NOT-DISPLAYED
</b>
</span>
</span>

Output on PDF : Text rendered with proper formatting but background color is not rendered.


Thanks in advance