Can't Style Context Label Text
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 30
- Joined: Sat Feb 16, 2019 8:43 pm
Can't Style Context Label Text
Hi,
I am trying to style the context label text, but I can't get it to work. I feel like the content after the div should be wrapped in an element. I am generating a pdf from html5/css. This is the code in the merged output.
Is there a way to do this?
Thanks,
Adam
I am trying to style the context label text, but I can't get it to work. I feel like the content after the div should be wrapped in an element. I am generating a pdf from html5/css. This is the code in the merged output.
Code: Select all
<section class="- topic/section task/context section context" id="unique_3_Connect_42_context_D5C8FC3158394E2CB5D46C355787F12D" nd:nd-id="context_D5C8FC3158394E2CB5D46C355787F12D"><div class="tasklabel"><h2 class="sectiontitle tasklabel">About this task</h2></div>
<a class="- topic/xref xref" format="dita" href="#unique_4" broken-link="true" scope="local" type="glossentry">term</a>, content
<span class="- topic/ph ph">Application Name</span>
Thanks,
Adam
Adam Myers
Technical Publications Manager
MATRIXX Software
Technical Publications Manager
MATRIXX Software
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Can't Style Context Label Text
What do you want to accomplish exactly?
If your usecase is to create padding to the rest of the elements that follow the label, you can use something like:
Many regards,
Dan
If your usecase is to create padding to the rest of the elements that follow the label, you can use something like:
Code: Select all
*[class ~= "task/context"] {
padding-left: 1in;
}
*[class ~= "task/context"] > .tasklabel {
margin-left: -1in;
}
Many regards,
Dan
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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