Hazard Statement Styling

dpksaini89
Posts: 47

Hazard Statement Styling

Tue Jul 10, 2018 10:01 am

Hi, The preset Hazard statement styling layout is not very good, it does not differentiate between a warning and a caution, A lot of space is left blank after the hazard statement, If howtoavoid field has multiple statements it doesnot allow to insert ordered or un-ordered list.
Image
Image

Kindly help us in getting a proper hazard statement: Something like shown below
Image
Radu
Posts: 5563

Re: Hazard Statement Styling

Tue Jul 10, 2018 3:45 pm

Hi,

I will add an issue on our side to try and better style the hazard notes in a future version.
In the meantime the CSS rules for hazardstatement can be found here:

OXYGEN_INSTALL_DIR\frameworks\dita\css\core\-domain-hazard-d.css

and you can try to override them in your own custom CSS to provide your own styling for it.
About this remark:

If howtoavoid field has multiple statements it doesnot allow to insert ordered or un-ordered list.


The list of allowed child elements for the howtoavoid according to the DITA 1.3 specification is this one:

https://www.oxygenxml.com/dita/1.3/specs/contentmodels/cmlth.html#cmlth__howtoavoid

you can probably use a DITA <sl> (simple list) inside it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest