Insert element before tag with CSS, not supported?
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Tue Sep 09, 2008 12:22 pm
Insert element before tag with CSS, not supported?
Hi,
I have simple question around CSS in XML Editor. Actually, an user can add a style sheet CCS to a XML document to structure it.
But it's strange, i can't use a syntax like :
a:before {
width: 23px;
padding: 0 23px 0 0;
background: white url(droite.jpg) 0 0;
content: "text_add";
}
is that normal ?
PS: i'm apologize for my spelling faults.
I have simple question around CSS in XML Editor. Actually, an user can add a style sheet CCS to a XML document to structure it.
But it's strange, i can't use a syntax like :
a:before {
width: 23px;
padding: 0 23px 0 0;
background: white url(droite.jpg) 0 0;
content: "text_add";
}
is that normal ?
PS: i'm apologize for my spelling faults.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Insert element before tag with CSS, not supported?
Post by sorin_ristache »
Hello,
The CSS background property is not supported yet in Oxygen Author. Please use background-color instead of background.
Regards,
Sorin
The CSS background property is not supported yet in Oxygen Author. Please use background-color instead of background.
Regards,
Sorin
-
- Posts: 1
- Joined: Fri Dec 05, 2008 9:24 am
Re: Insert element before tag with CSS, not supported?
How can I subclass an HTML element inside a class with CSS? I have a class "sidebar" and I want the H1 tag IN a sidebar DIV to be a certain style. How can I define that?
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Insert element before tag with CSS, not supported?
Hi,
If you have something like:
you can use a selector like this in the CSS:
The selector means any h1 which is a descendent of div with the class sidebar
See all the CSS selectors for more details:
http://www.w3.org/TR/CSS2/selector.html
Regards,
Radu
If you have something like:
Code: Select all
<div class="sidebar">
.... <h1>Header content</h1>
</div>
Code: Select all
div[class="sidebar"] h1 {
color:blue;
}
See all the CSS selectors for more details:
http://www.w3.org/TR/CSS2/selector.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
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