HTML structure Caution & Danger
Posted: Thu Oct 15, 2015 11:22 am
The dita toolbox delivered with oxygen 17 will convert most note types to the following structure in the HTML output:
However for the 'caution' and 'danger' type the structure in the HTML output differs:
Has this been done intentionally?
Having no parent container for caution and danger makes it a bit more tricky to style, but especially the different approach for those two types, seem to unnecessarily overcomplicate styling.
Code: Select all
<div class="note warning">
<span class="warningtitle">Warning:</span>
This is a warning example text
</div>
However for the 'caution' and 'danger' type the structure in the HTML output differs:
Code: Select all
<div class="cautiontitle">CAUTION:</div>
<div class="note caution">A caution type note text</div>
Having no parent container for caution and danger makes it a bit more tricky to style, but especially the different approach for those two types, seem to unnecessarily overcomplicate styling.