How can I wrap the text for my watermark? I was able to get it to wrap using the margin-top: 200px for the @page (see attachement usingmargintop.pdf). However, when I do this, naturally it moves my top margin down. It doesn't work if I place it inside the @top-center. Any ideas on how to get my watermark to wrap the text and remain in the center while also maintaining the top margin?
@page
{
/*if I don't have this, the watermark will not wrap */
/*if I move this into the @top-denter, it doesn't wrap the content*/
margin-top: 200px;
/* Watermark*/
@top-center
{
content: string(watermarktext);
color: rgba( 255, 0, 0, 0.10 );
font-family: arial,tahoma,helvetica,sans-serif;
font-size: 36pt;
width: 500px;
transform: rotate(-45deg) scale( 2 ) ;
transform-origin: 100% 0;
text-align: center;
word-wrap: break-word;
margin-left: 150px;
margin-right: 200px;
/*margin-top: 200px;*/
}
size: A4 landscape;
}
@page
{
/*if I don't have this, the watermark will not wrap */
/*if I move this into the @top-denter, it doesn't wrap the content*/
margin-top: 200px;
/* Watermark*/
@top-center
{
content: string(watermarktext);
color: rgba( 255, 0, 0, 0.10 );
font-family: arial,tahoma,helvetica,sans-serif;
font-size: 36pt;
width: 500px;
transform: rotate(-45deg) scale( 2 ) ;
transform-origin: 100% 0;
text-align: center;
word-wrap: break-word;
margin-left: 150px;
margin-right: 200px;
/*margin-top: 200px;*/
}
size: A4 landscape;
}