コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3081 ビュー

Hi,

How could I set text as a watermark in an Odoo 12 custom report?

Im trying like this but it doesn't work, the div appears over the content hiding all the information.

<div t-att-style="'position:absolute;opacity:0.1;z-index:1000;transform:rotate(300deg);-webkit-transform:rotate(300deg);width:150%;'">
<p style="font-size:140px;">CANCELADO</p>
</div>

Thank you in advance 

アバター
破棄
最善の回答

You need to decrease z-index of the provided code and increase the z-index of the content div.

If content div has no z-index provide it higher then watermark div

アバター
破棄
著作者

Thank you for your answer, I try like that but doesn't work, I set my div as z-index as -1 and the z-index of the other content as 9999 but nothing changes you have other idea what it could be?

関連投稿 返信 ビュー 活動
3
12月 20
3064
2
9月 20
3306
1
10月 19
2528
0
3月 22
2523
2
10月 20
27960