Styling xincluded inline elements with css
Posted: Mon Feb 14, 2011 8:24 pm
Hi there,
I was inspired by something in this thread, http://www.oxygenxml.com/forum/topic3240.html, to try to change the styling of xincluded content. I can see that oxy|reference also applies to xinclude, but nothing I try affects the include element itself. My goal is to make xincluded inlines less obtrusive (in my customization of DocBook, you can xinclude any element, including inlines).
I was trying things like this and could get it to style the oxy|reference but not the include:
Any tips?
Thanks,
David
I was inspired by something in this thread, http://www.oxygenxml.com/forum/topic3240.html, to try to change the styling of xincluded content. I can see that oxy|reference also applies to xinclude, but nothing I try affects the include element itself. My goal is to make xincluded inlines less obtrusive (in my customization of DocBook, you can xinclude any element, including inlines).
I was trying things like this and could get it to style the oxy|reference but not the include:
Code: Select all
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
@namespace xi url('http://www.w3.org/2001/XInclude"');
oxy|reference, xi|include {
display:inline !important;
}
oxy|reference:before, xi|include:before {
display: inline !important;
}
Thanks,
David