Movatterモバイル変換


[0]ホーム

URL:


mPDF Manual – mPDF Variables

justifyB4br

(mPDF ≥ 4.4)

justifyB4br – Specify whether to justify line of text before a linebreak

Description

voidjustifyB4br

Specify whether to justify line of text before a linebreak. This only makes a difference when the text-alignment of thecurrent block is set astext-align: justify.

In a justified text block, a<br> linebreak will not cause the preceding line to be justified. This behaviour matchesmost browsers. However, to allow optional compliance with the behaviour of MS Word, which also justifies text beforea<br> you can set this variable totrue.

Values

$justifyB4brtrue|false

Values

  • true: justify line of text beofre a linebreak
  • false: do not justify line of text before a linebreak

Default:false

Changelog

VersionDescription
4.4Variable was added.

[8]ページ先頭

©2009-2026 Movatter.jp