Custom list styling
Oxygen general issues.
-
- Posts: 58
- Joined: Sat Aug 01, 2009 12:57 am
Custom list styling
In my docbook framework I want to be able to use custom list style character: dash. It is not a part of css standard so it has to be done with "content". I can do that but I cannot keep the text after first line aligned with top line. Usually on the web I would do it with negative text-indent but it does not seem to work for in oXygen. How should I go about this issue?
Sample files below.
Sample files below.
Code: Select all
itemizedlist[mark="dash"] > listitem > *:FIRST-CHILD:BEFORE
{
content: '- ';
}
itemizedlist[mark="dash"] > listitem > *
{
text-indent: -1.4em;
}
itemizedlist[mark="dash"] > listitem
{
list-style-type: none;
}
itemizedlist[mark="dash"]
{
margin-left:1.4em;
}
Code: Select all
<itemizedlist mark="dash">
<listitem>
<para>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud</para>
</listitem>
<listitem>
<para>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud</para>
</listitem>
</itemizedlist>
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Custom list styling
Hi Mike,
Actually CSS 3 seems to have added a lot of list-style-type values like hyphen. Unfortunately we do not yet support them in the Author page.
Also, we do not support negative indent, we've had request but with our current architecture it's hard to implement and it will not be done in the short term.
Maybe we can add support for displaying more CSS3 list style type values.
In the meantime I do not have a workaround for you.
Regards,
Radu
Actually CSS 3 seems to have added a lot of list-style-type values like hyphen. Unfortunately we do not yet support them in the Author page.
Also, we do not support negative indent, we've had request but with our current architecture it's hard to implement and it will not be done in the short term.
Maybe we can add support for displaying more CSS3 list style type values.
In the meantime I do not have a workaround for you.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Custom list styling
Hi Mike,
Oxygen 13.1 which should be released in a few weeks will support the additional list style types of:
Regards,
Radu
Oxygen 13.1 which should be released in a few weeks will support the additional list style types of:
Code: Select all
'box', 'diamond', 'check' and 'hyphen'
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