Adding columns for certain DITA elements (PDF layout)
Posted: Mon May 13, 2024 12:44 pm
Hi,
I need to produce a PDF file
Then I added the following CSS selectors:
This has no result on the output PDF. (The *merged.html file has three columns but the column-count is also applied on the title and the subtitle/shortdesc.)
Could you help me with that? (Or do I need the paged solution, then add the title and subtitle as ::before elements?)
Kind regards
Related links:
https://www.oxygenxml.com/doc/versions/ ... xc_4xy_3fb (works but I do not want to apply the columns to the whole page
post13040.html#p13040 (did not work but I assume it's also only for the page)
I need to produce a PDF file
- body content has three columns
- page title and subtitle [shortdesc] don't have columns
Code: Select all
<concept>
<shortdesc>test</shortdesc>
<conbody outputclass="three-columns">
<p>text</p>
</conbody>
</concept>
Code: Select all
*[class ~= "three-columns"],
.three-columns,
*[outputclass ~= "three-columns"]{
column-count:3 !important;
column-gap: normal;
}
.body {
display: block !important;
column-count: 3 !important;
column-gap: normal;
}
Could you help me with that? (Or do I need the paged solution, then add the title and subtitle as ::before elements?)
Kind regards
Related links:
https://www.oxygenxml.com/doc/versions/ ... xc_4xy_3fb (works but I do not want to apply the columns to the whole page
post13040.html#p13040 (did not work but I assume it's also only for the page)