How to color the bullet point in

0

I have static text that using "styled" markup, I made it to a bullet point by using <li> tag. 

However one of our requirement is to make the bullet point white or maybe other color(default is black).

Is there a way to do it ?

Here is my code:

<staticText>
<reportElement x="0" y="14" width="126" height="14" uuid="8cd2555e-bd94-4c72-80be-d9787d0fbfcd">
<printWhenExpression><![CDATA[new Boolean($F{memebrDateJoinPlan} != null)]]></printWhenExpression>
</reportElement>
<textElement markup="styled"/>
<text><![CDATA[<li>Date you joined the plan:</li>]]></text>
</staticText>

 

chi_ding's picture
Joined: Sep 23 2015 - 12:14pm
Last seen: 3 years 11 months ago

1 Answer:

0

Just set overall color in the ul tag and add span tag with color.

Example:

<ul style="color:#ff00ff;">
<li><span style="color:#000000;">text</span></li>
</ul>

hozawa's picture
49243
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 months 1 week ago
Feedback