P
P
Paul Gubanov2014-08-27 16:33:13
css
Paul Gubanov, 2014-08-27 16:33:13

Why doesn't border-image work in mailing list template?

Everyone, good day. I'm dealing with the mailing list template and I can't get the border-image to be displayed in Yandex.Mail and GMail. It seems that both systems should understand this property, what am I doing wrong?

<table cellpadding="0" cellspacing="0" border="0" align="center" width="610" style="background: #fff; border-style: solid; border-width: 5px; border-image: url(brdr2.png) 4 fill round; -moz-border-image: url(brdr2.png) 4 round; -webkit-border-image: url(brdr2.png) 4 round; -o-border-image: url(brdr2.png) 4 round;" bgcolor="#ffffff" class="content">
        <tr>
          <td style="padding:60px;" align="left"></td>
</tr>
</table>

update:
So, it became 50% clear. Yandex.Mail without border-collapse: initial; does not want to display the border. For Yandex, the settlement style is as follows:
element.style {
background: #fff;
border-collapse: initial;
border-style: solid;
border-width: 5px;
border-image: url(https://cache.mail.yandex.net/mail/3aacc3fbbf2a2e9b0c20d7326dce0594/spongecompany.ru/test/gosinvestmail/brdr2.png) 4 round round;
}

Gmail unfortunately continues to ignore border-image.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Paul Gubanov, 2014-08-27
@gubanovpa

So, 50% became clear. Yandex.Mail without border-collapse: initial; does not want to display the border. For Yandex, the settlement style is as follows:

element.style {
background: #fff;
border-collapse: initial;
border-style: solid;
border-width: 5px;
border-image: url(https://cache.mail.yandex.net/mail/3aacc3fbbf2a2e9b0c20d7326dce0594/spongecompany.ru/test/gosinvestmail/brdr2.png) 4 round round;
}

Gmail unfortunately continues to ignore border-image.

Y
Yuri Lobanov, 2014-08-27
@iiil

Try removing border="0"

D
Dima Pautov, 2014-08-27
@bootd

Well, not the systems, but the browser should understand! Secondly, maybe the path is not specified correctly, or the mail systems cut off some styles! Try to look at the source code of the letter, maybe you will find something interesting!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question