V
V
Vika Marmeladka2021-03-18 15:11:07
css
Vika Marmeladka, 2021-03-18 15:11:07

Is it possible to use absolute in email layout?

Are there options to use the absolute, and, accordingly, right, left, top, bottom? I have a task, I need to put links on a huge picture and put them in their places. There are options? In general, at least somehow you can use CSS in the layout of the letter?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey delphinpro, 2021-03-18
@delphinpro

Cut the picture into pieces. You wrap the necessary pieces in links.
Lay it all out in the cells of the table.
Everything is in the best traditions of layout of the last century =))
But on the other hand, it will definitely be displayed more or less normally.
As for the size of the picture. The recommended letter width is no more than 600-780 pixels.

A
alex_ok83, 2021-03-18
@alex_ok83

layout of the letter is better to do with a table, the absolute may not work everywhere - well, you need to check on different mailboxes - how the letter is displayed

M
Maxim, 2021-03-18
@ghostr1der

To check the css properties that can be used in the layout of letters, you can use the resource https://www.caniemail.com/
But in general, it is better to typeset letters in tables, if you need to put a link on the picture, you can make the picture the background of the cell, and put the link in the cell and position it with paddings .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question