Cusatom .css-file
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 24
- Joined: Mon Aug 24, 2015 11:37 pm
Cusatom .css-file
Post by Glimmerino »
Hello.
I'm using the webhelp plugin for my online help generation in DITA.
By default the figure title and relating image does not align properly. I would like the figure title to be before/on top of the image. How do I set this in the .css file? I know I can change the @placement attribute for each image but I want this to be automatic.
The element structure looks like:
<fig id="">
<title>TITLE</title>
<image href=""/>
</fig>
Best regards
Kristian
I'm using the webhelp plugin for my online help generation in DITA.
By default the figure title and relating image does not align properly. I would like the figure title to be before/on top of the image. How do I set this in the .css file? I know I can change the @placement attribute for each image but I want this to be automatic.
The element structure looks like:
<fig id="">
<title>TITLE</title>
<image href=""/>
</fig>
Best regards
Kristian
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: Cusatom .css-file
Post by bogdan_cercelaru »
Hello,
To have the figure title on the top of the image, please try to edit the "DITA-OT/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/css/webhelp_topic.css" file and add the following code at the end:
Regards,
Bogdan
To have the figure title on the top of the image, please try to edit the "DITA-OT/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/css/webhelp_topic.css" file and add the following code at the end:
Code: Select all
div.fignone span.figcap {
display:block;
text-align:left;
font-weight:bold;
padding:2px 10px 5px 10px;
}
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: 24
- Joined: Mon Aug 24, 2015 11:37 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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