Styling of msgph
Oxygen general issues.
-
- Posts: 1
- Joined: Wed Aug 02, 2023 2:13 pm
Styling of msgph
Post by Robin_Etteplan »
Hi,
I have a framework where I have added some cutom styling to dita documents.
My problem is that when it comes to msgph elements i want to put some text value before the text in the element.
So I added in my style.less file
And nothing happens. If I check the CSS inspector nothing shows.
But if I instead write it as :after in the style.less file, it works and I can see it in the CSS instepctor.
Both :before and :after works if I put it on for example P element.
Is there a special reason why msgph:before does not work? Is there some setting I need to set or override?
BR
Robin
I have a framework where I have added some cutom styling to dita documents.
My problem is that when it comes to msgph elements i want to put some text value before the text in the element.
So I added in my style.less file
Code: Select all
msgph:before {
color: #AAAAAA;
background-color: #E5E5E5;
content: "* ";
font-weight: bold;
}
But if I instead write it as :after in the style.less file, it works and I can see it in the CSS instepctor.
Both :before and :after works if I put it on for example P element.
Is there a special reason why msgph:before does not work? Is there some setting I need to set or override?
BR
Robin
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Styling of msgph
Hi Robin,
I cannot reproduce the problem on my side. Is the "style.less" your main customization stylesheet or is it imported in another stylesheet?
We have a tech support form if you want to zip and share your framework configuration with us:
https://www.oxygenxml.com/techSupport.html
Regards,
Radu
I cannot reproduce the problem on my side. Is the "style.less" your main customization stylesheet or is it imported in another stylesheet?
We have a tech support form if you want to zip and share your framework configuration with us:
https://www.oxygenxml.com/techSupport.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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