How to change the margins for the Procedure task label?
Posted: Thu Oct 31, 2019 7:39 pm
Hello,
I am using Oxygen XML Editor version 21.1 to generate PDF output with the 'DITA Map PDF - based on HTML 5 & CSS' transformation.
I am using the 'args.gen.task.lbl' parameter to display the task labels (Procedure, Results, What to do next, etc.) in my PDF output.
I successfully changed the margins for the 'Before you begin' and 'What to do next' labels using these css settings:
How can I change the margins for the 'Procedure' label? I need to do that for the steps and the steps-unordered elements. Both are sometimes used with a stepsection element before the first step element. I need to change the margins for all cases.
I tried several combinations, but none of them has any effect. For example:
or
Could you point me to the correct css element?
Thanks and best regards,
Tanja
I am using Oxygen XML Editor version 21.1 to generate PDF output with the 'DITA Map PDF - based on HTML 5 & CSS' transformation.
I am using the 'args.gen.task.lbl' parameter to display the task labels (Procedure, Results, What to do next, etc.) in my PDF output.
I successfully changed the margins for the 'Before you begin' and 'What to do next' labels using these css settings:
Code: Select all
*[class ~= "task/prereq"] > .tasklabel {
margin-top:0.8em;
margin-bottom:0.3em;
}
*[class ~= "task/postreq"] > .tasklabel {
margin-top:0.8em;
margin-bottom:0.3em;
}
I tried several combinations, but none of them has any effect. For example:
Code: Select all
*[class ~= "task/steps"] > *[class ~= "task/stepsection"] > .tasklabel {
margin-top:0.8em;
margin-bottom:0.3em;
}
Code: Select all
*[class ~= "task/steps"] > .tasklabel {
margin-top:0.8em;
margin-bottom:0.3em;
}
Thanks and best regards,
Tanja