Hello Could we add text over image using freemarke...
# advancedpdf
b
Hello Could we add text over image using freemarker please? I just tried to use position absolute but didn't work Is background image works in freemarker? style for background image is working.
Copy code
<style>
body{
    position: relative;
}
.title{
    position: absolute;
    top: 3in;
    left: 2.5in;
}</style>
<p class="title">TESTING</p>
This returns error "An unexpected error has occurred"
m
What about setting the image as a background?
Copy code
body {
                background-image: url("...");
                background-size: auto;
                color: #000;
                font-size: 13px;
                font-weight: bold;
            }
something like that
doesn't have to be the body
b
setting the image background works @Marwan
but I have tons of texts to put above image
Thank you @Marwan Do you know how to use macro only to specific page please?
m
np No, I never worked on a case like that