Line spacing for the text

Post here questions and problems related to editing and publishing DITA content.
Manohar_1024
Posts: 53
Joined: Wed Mar 27, 2019 10:12 am

Line spacing for the text

Post by Manohar_1024 »

HI,

I want to provide line spacing in steps and text content. Currently we are using DITA with CSS output.
Thank you
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: Line spacing for the text

Post by Costin »

It is not very clear what you mean.
If you refer to the distance between lines, then you should match the paragraphs and the task steps and just use the line-height CSS property:

Code: Select all

*[class~="topic/p"], *[class~="task/step"]{
    line-height: 50px;
}
If you still need help with CSS properties, Here is a good CSS tutorial resource.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply