Multiple images for WebHelp ToC topics?
Posted: Wed Apr 08, 2015 8:55 pm
Hi,
I've set up a DITA WebHelp output where I've added PDF, Word, and Excel topic references to the ToC.
I'm wondering if it's possible to alter the WebHelp style sheet (toc.css) to automatically use a different image for each file type (similar to how the map displays in oXygen as you're assembling it) so people will know what they are about to click on.
I'm assuming this is the code that I'd need to add to?
Thanks,
Ryan
I've set up a DITA WebHelp output where I've added PDF, Word, and Excel topic references to the ToC.
I'm wondering if it's possible to alter the WebHelp style sheet (toc.css) to automatically use a different image for each file type (similar to how the map displays in oXygen as you're assembling it) so people will know what they are about to click on.
I'm assuming this is the code that I'd need to add to?
Code: Select all
topic{
background-image: url('../../img/topic16.png');
background-repeat: no-repeat;
padding-left: 16px;
}
Ryan