Good morning,
I'm working on the Card for subscribers but I can't center the card on the A6 sheet chosen as the format: the card is always positioned at the top left without any space as a margin, both when working with DIVs and with the TABLE. In the custom css I added:
.invoice-container {
background-image: url("
xxx.com/images/grafica/card-2023.png
");
background-repeat: no-repeat;
width: 85mm;
height: 54mm;
margin: 0 auto;
background position: center center;
background size: cover; }
And in the html: <div class="invoice-container">
In a normal Html the view is correct, the Membership is not (even in print). I also inserted the style directly into the div but nothing changes.
How can you center the card?
PS: in the JCE editor, contrary to the instructions read, the background image is not seen even in Preview. It can be seen regularly only by simulating a subscription and receiving the email.