Trying to design an HTML mail but when tested in Yahoo I saw that it removes every box-sizing style from HTML. Is there any way to get around that?
Asked
Active
Viewed 731 times
4
-
1A bit older, but contains one answer with a recent update: https://stackoverflow.com/questions/29437634/is-box-sizing-available-to-use-in-email-templates – CBroe Jul 10 '18 at 14:36
-
1As it's not supported on a number of clients it's not even worth adding to your email css. You have to adapt the build to not rely on it. Is there a specific alignment issue it's causing? – gj-wes Jul 10 '18 at 14:44
-
@Gwesolo yes, I am using border-box and in Yahoo, the divs don't stay in one line. 1st div : width 75% ; padding:10px; float:left;box-sizing:border-box; 2nd div : width 25% ; padding:10px; float:left;box-sizing:border-box; – Bharat D Bhadresha Jul 11 '18 at 03:43
-
You don't post your code, so it's hard to suggest alternatives. But if box-sizing does not work in Yahoo, it's going to be even worse in Outlook. I suggest a different development action. – gwally Jul 12 '18 at 20:18
-
thank you, I will try something else. – Bharat D Bhadresha Jul 13 '18 at 07:54