line spacing between lists and other elements
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 11
- Joined: Thu Jul 06, 2023 5:31 pm
line spacing between lists and other elements
Hi,
does anyone know how to decrease the distance between lists and other elements (like chapter titles or paragraphs)?
Wojtek
does anyone know how to decrease the distance between lists and other elements (like chapter titles or paragraphs)?
image.png
cheersWojtek
You do not have the required permissions to view the files attached to this post.
Wojtek
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: line spacing between lists and other elements
Post by andrei_pomacu »
Hi,
You can debug the CSS in order to see which rule you need to override to decrease the distance between the elements what you presented.
To debug the CSS you need to open the HTML file from the "out\pdf-css-html5" in browser.
Select the element that has the problem, in your case the key functionalities element or the list under. Then you inspect the CSS that is applied on the element and see which rule creates that distance.
Then you copy that rule in your CSS customization file and and refactor the rule with the distance that you need.
You can read more about debugging the CSS from here
Regards,
Andrei
You can debug the CSS in order to see which rule you need to override to decrease the distance between the elements what you presented.
To debug the CSS you need to open the HTML file from the "out\pdf-css-html5" in browser.
Select the element that has the problem, in your case the key functionalities element or the list under. Then you inspect the CSS that is applied on the element and see which rule creates that distance.
Then you copy that rule in your CSS customization file and and refactor the rule with the distance that you need.
You can read more about debugging the CSS from here
Regards,
Andrei
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service