Adding "Previous" and "Next" to Navigation Arrows
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: Adding "Previous" and "Next" to Navigation Arrows
Post by bogdan_cercelaru »
Hello,
Using a custom CSS file, you can add a string before/after an element.
The following CSS code will add the Previous / Next strings before/after the arrows:Here you can find more information about how to customize the output using CSS: https://www.oxygenxml.com/doc/ug-webhel ... h-css.html
Regards,
Bogdan
Using a custom CSS file, you can add a string before/after an element.
The following CSS code will add the Previous / Next strings before/after the arrows:
Code: Select all
span.navprev:before{
display: inline-block;
content: "Previous";
color: #347bb7;
padding-right: 0.5em
}
span.navnext:after{
display: inline-block;
content: "Next";
color: #347bb7;
padding-left: 0.5em
}
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Adding "Previous" and "Next" to Navigation Arrows
Hi dgallo,
Bogdan provided the solution implying CSS, because even the Previous / Next navigation arrows are present in the output also from a predefined CSS.
Is there any reason for which you specifically need to perform this using XSLT instead of a custom CSS containing only the rules we suggested?
Regards,
Costin
Bogdan provided the solution implying CSS, because even the Previous / Next navigation arrows are present in the output also from a predefined CSS.
Is there any reason for which you specifically need to perform this using XSLT instead of a custom CSS containing only the rules we suggested?
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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