HTML DOM
<div class="page">
<h1 style="text-align: center; color: white; margin-top: 2in;">Sample Image</h1>
<p style="text-align: center; font-size: 1.2em;">- background -</p>
</div>
|
CSS <STYLLE>
<style>
body {
margin: 0;
padding: 0;
background: #ccc;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
box-sizing: border-box;
}
.page {
width: 8.5in;
height: 11in;
background-image: url(" ... your image url here ... ");
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
box-sizing: border-box;
overflow: hidden; /* Prevent content overflow */
}
@media print {
@page {
size: letter;
margin: 0;
}
body {
background: none;
padding: 0;
margin: 0;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.page {
box-shadow: none;
width: 8.5in !important;
height: 11in !important;
padding: 0 !important;
margin: 0 !important;
overflow: hidden;
}
}
</style>
|
|

Upload your photo using the Letters --> Files tool then use the URL provided to insert into your letter |