HTML Styled Correctly But PDF Isn't
Posted: Tue Oct 02, 2018 7:16 pm
Hi there,
I'm using the DITA Map PDF - based on HTML & CSS transformation scenario with a customization. I'm trying to apply a two-column layout to a specific topic in the DITA Map, namely to the "terms and conditions" topic, which has been created with.
In my custom CSS file, I have the selector:
This displays the content of the topic in two columns in HTML as expected. However, the same content is rendered without any columns in the PDF output. Is there any way to troubleshoot this? I checked the information at https://www.oxygenxml.com/doc/versions/ ... e_css.html but didn't get anywhere with it.
Many thanks and apologies if this is a basic question!
Carl.
I'm using the DITA Map PDF - based on HTML & CSS transformation scenario with a customization. I'm trying to apply a two-column layout to a specific topic in the DITA Map, namely to the "terms and conditions" topic, which has been created with
Code: Select all
@outputclass="agb"
In my custom CSS file, I have the selector:
Code: Select all
article [class~="agb"] {
page-break-before: always;
column-count: 2;
column-gap: 2em;
}
Many thanks and apologies if this is a basic question!
Carl.