[reportlab-users] intra-paragraph backcolor?

Robin Becker robin at reportlab.com
Wed Jan 5 05:02:10 EST 2011


On 28/12/2010 23:32, Jon.Reinsch wrote:

> Is there any way to set the background color on selected text within a

> paragraph? I know I can use <para backColor='yellow'> for the entire paragraph,

> but I only want to hilite certain words, a la:

> <p>The effect is <span style='background-color:yellow'>easy</span> to achieve in

> html/css.</p>

........

you should be able to do this with a <font backColor='yellow'>my yellow
text</font> inside the paragraph text.
--
Robin Becker


More information about the reportlab-users mailing list