Forum How do I...?

Adjust underline in Prince

suehpec
I have a book with a chapter label for each chapter that needs to be underlined. Unfortunately Prince does not support text-decoration-thickness or text-decoration-offset.

Here is the CSS we are using below:

div.chapter h1.chapter-label {
margin: 74pt auto 22pt auto;
font-size: 20pt;
text-align: center;
text-transform: uppercase;
text-decoration: underline;
letter-spacing: 1.5px;
}

Is there a way to adjust the offset and thickness of the underline? It is something we need to format for our book.

Thank you
pieter.lamers
I have a similar inquiry. Is there any way to influence the underline position, other than using a border-bottom instead of a text-decoration? and is text-decoration-offset on the roadmap to being implemented?
mikeday
The latest build now supports the text-underline-offset and text-decoration-thickness properties, and the "from-font" value for the text-underline-position property; hopefully these will help! :D