Editing bold, italics, and underline in CSS
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Tue Mar 25, 2025 2:57 pm
Editing bold, italics, and underline in CSS
I'm new to Oxygen and am trying to learn to change the pdf outcome through the css file. I've learnt how to change tags, but when I try to change for example <i> nothing happens. Is this a locked feature or how do you change the look of these built in functions?
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Editing bold, italics, and underline in CSS
Post by julien_lacour »
Hello,
Normally the DITA <i>, <b> and <u> elements should be correctly displayed in the PDF output.
What can happens though is the font you are using may not have variants for italic or bold, in this case the text will be rendered as regular.
Regards,
Julien
Normally the DITA <i>, <b> and <u> elements should be correctly displayed in the PDF output.
What can happens though is the font you are using may not have variants for italic or bold, in this case the text will be rendered as regular.
Regards,
Julien
-
- Posts: 2
- Joined: Tue Mar 25, 2025 2:57 pm
Re: Editing bold, italics, and underline in CSS
The problem is that the size of them are smaller than the rest of the text. I would like to fix this without changing the font, because we use that font because it is the only one that correctly displays all the symbols we need.
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Editing bold, italics, and underline in CSS
Post by julien_lacour »
Hello,
Is it possible for you to send the DITA file(s) and the publishing template you are using (or at least the CSS stylesheet(s))? You can send them directly at support@oxygenxml.com.
Could you also indicate which version of Oxygen you are using and confirm you are using a scenario based on DITA Map PDF - based on HTML5 & CSS.
Regards,
Julien
Is it possible for you to send the DITA file(s) and the publishing template you are using (or at least the CSS stylesheet(s))? You can send them directly at support@oxygenxml.com.
Could you also indicate which version of Oxygen you are using and confirm you are using a scenario based on DITA Map PDF - based on HTML5 & CSS.
Regards,
Julien
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