side-by-side
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 11
- Joined: Thu Jul 06, 2023 5:31 pm
side-by-side
Screenshot_1.png
Hello,I used side-by-side in css to place pictures next to the text with two following elements:
Code: Select all
*[outputclass ~= "side-by-side"] > *[class ~= "topic/p"] {
display:inline-block;
width: 40%;
vertical-align:top;
}
*[outputclass ~= "side-by-side"] > *[class ~= "topic/fig"] {
display:inline-block;
width: 50%;
vertical-align:top;
font-size:0pt;
}
What could be the reason?
Cheers
Wojtek
You do not have the required permissions to view the files attached to this post.
Wojtek
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: side-by-side
Post by julien_lacour »
Hi Wojtek,
You can align the marker and the content by setting the line-height property on the paragraph:
Regards,
Julien
You can align the marker and the content by setting the line-height property on the paragraph:
Code: Select all
*[outputclass ~= "side-by-side"] > *[class ~= "topic/p"] {
display: inline-block;
width: 40%;
vertical-align: top;
line-height: 1.25em;
}
*[outputclass ~= "side-by-side"] > *[class ~= "topic/fig"] {
display: inline-block;
width: 50%;
vertical-align: top;
font-size: 0pt;
}
Julien
Return to “DITA (Editing and Publishing DITA Content)”
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