CSS: -oxy-append-content kills original icons
Oxygen general issues.
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
CSS: -oxy-append-content kills original icons
Hi,
in one css file I'm adding some buttons to an element using relative urls for the icons.
Now in another css file (located in another folder) I'm adding additional content (i.e. another button with icon) using -oxy-append-content.
The effect is now that the icons of the original buttons are no more displayed (but the text instead).
My guess is that the URLs are now being resolved relative to the URI of the file that added the new button. (Using Oxygen 17.0)
Any idea how I can add additional buttons from another file without killing the original icons?
Thanks and regards,
Patrik
in one css file I'm adding some buttons to an element using relative urls for the icons.
Now in another css file (located in another folder) I'm adding additional content (i.e. another button with icon) using -oxy-append-content.
The effect is now that the icons of the original buttons are no more displayed (but the text instead).
My guess is that the URLs are now being resolved relative to the URI of the file that added the new button. (Using Oxygen 17.0)
Any idea how I can add additional buttons from another file without killing the original icons?
Thanks and regards,
Patrik
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: CSS: -oxy-append-content kills original icons
Hi Patrik,
Thank you for reporting this problem. Indeed, the URLs used in the content declared in CSS are resolved relative to the location of the CSS where you used the "-oxy-append-content" property. I have registered this problem in our internal issue tracker and we will let you know when the fix will be available.
In the meantime you can use multiple before pseudo-elements to append content from different CSS sources. Here are some details and samples:
http://www.w3.org/TR/css3-content/#inserting0
Thank you for reporting this problem. Indeed, the URLs used in the content declared in CSS are resolved relative to the location of the CSS where you used the "-oxy-append-content" property. I have registered this problem in our internal issue tracker and we will let you know when the fix will be available.
In the meantime you can use multiple before pseudo-elements to append content from different CSS sources. Here are some details and samples:
http://www.w3.org/TR/css3-content/#inserting0
Mihaela Calotescu
http://www.oxygenxml.com
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