← Prev in month ← Prev in thread

user-defined text/background color in HTML output

From
Shikareva, Ekaterina <>
Date
2016-08-15T13:06:14+00:00
ID
Thread
user-defined text/background color in HTML output
Hello,

 

I’m implementing the possibility to define text and background color for inline text in DocBook files. For this, I chose the <phrase> element:

           
<phrase role=”fgcolor:red;bgcolor:yellow;”>red text on yellow background</phrase>

where any colors can be specified by a valid name or HEX value, so no predefined color list exists.

 

I implemented the required stylesheet adaptation for PDF output, but we also output our documentation as Eclipse help system. And here I’m a bit stuck with understanding
 what template shall be customized.

Could you please point me to the direction of the HTML counterpart of <fo:inline>? I’m probably overlooking something very simple.

 

Thank you very much!

 

-- 

Best regards,

 

Ekaterina Shikareva

Senior Technical Writer

 

This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this
 email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by
 replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.
← Prev in month ← Prev in thread