Hi,
I have this HTML code:
and these styles:
The text-decoration (either underline or line-through) is not correctly applied to the text. When the text-indent is negative the text-decoration is not applied to the text that appears before the left margin. When the text-indent is positive the text-decoration is applied to the whitespace before the text. Is this a bug? I'm using Prince 7.0.
Thanks,
Henning
I have this HTML code:
<div class="clause">
<div class="atadd">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
</div>
<div class="atadd">
<div class="clause">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
</div>
<div class="atdel">
<div class="clause">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
</div>
and these styles:
.clause{
margin-left: 6em;
text-indent: -2em;
}
.atadd {
color: blue;
text-decoration: underline;
}
.atdel {
color: red;
text-decoration: line-through;
font-weight: bold;
}
The text-decoration (either underline or line-through) is not correctly applied to the text. When the text-indent is negative the text-decoration is not applied to the text that appears before the left margin. When the text-indent is positive the text-decoration is applied to the whitespace before the text. Is this a bug? I'm using Prince 7.0.
Thanks,
Henning