Changing top and bottom margins for <choicetable>
Posted: Fri Apr 01, 2016 12:10 am
I need to expand margins above and below <choicetable> for webhelp.
The oxygen > frameworks > dita > css > core > -task.css file provides these default margins:
My preferred margins are:
I added a task.css file with the preferred margins to oxygen > frameworks > dita > DITA OT > plugins > com.oxygenxml.webhelp > oxygen-webhelp > resources > css folder. I set the args.css to the path to the new task.css and set args.copycss to yes. I generated webhelp using the DITA Map Webhelp option. In the webhelp output, the task.css file with the preferred margins was in the out > webhelp > oxygen-webhelp > resources > css folder. However, choicetables in the webhelp topics appeared with the default margins.
How do I need to specify these <choicetable> margins to override the default margins?
Thank you for any advice or guidance you can provide.
The oxygen > frameworks > dita > css > core > -task.css file provides these default margins:
Code: Select all
*[class~="task/choicetable"] {
/* -task_step_child- >>> */
/* margin: 0.5em 0.5em 0.5em 4em; */
/* <<< */
}
Code: Select all
*[class~="task/choicetable"] {
/* -task_step_child- >>> */
/* margin: 4em 0.5em 4em 4em; */
/* <<< */
}
How do I need to specify these <choicetable> margins to override the default margins?
Thank you for any advice or guidance you can provide.