How to change line spacing in positioned box?

Hi can anyone advise as to how I can change the line spacing in the positioned box?

Thanks,

Regards.

You can give the positioned box an ID or a Class and then use the below CSS rule.

Let’s suppose we have given it an id of “posBox”

Then in the context_print_style.css or context_all_stles.css, add the following rule:

#posBox{

line-height: 1.5;

}

This will increase the line spacing to 1.5 times the height of the font used. Likewise, to decrease line spacing, use a ratio which is less than 1. For example: line-height:0.75;

1 Like