outlook - background Image with VML -
i'm having problem - have background image (background image here) it's not displaying in outlook desktop. in first line can find background-image location. know should add vml, don't know where.
here's code
<table height="400px" width="100%" class="wrapper" style="border-collapse: collapse;border-spacing: 0;;width: 100%;min-width: 620px;background-image: url();m-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;table-layout: fixed;background-image: url(background image here)"> <tbody><tr> <td style="padding-top: 0;padding-bottom: 0;padding-left: 0;padding-right: 0;vertical-align: top; background-image: url()"> <center> <table height="400px" class="one-col-feature" style="border-collapse: collapse;border-spacing: 0;border-radius: 6px;background-image: url()-moz-border-radius: 6px;width: 600px;margin-left: auto;margin-right: auto"> <tbody><tr> <td class="column" style="padding-top: 0;padding-bottom: 0;padding-left: 0;padding-right: 0;vertical-align: top;text-align: center"> <table class="contents-blue" style="border-collapse: collapse;border-spacing: 0;width: 100%;;border-radius: 6px; background-color:#;background-image: url();-moz-border-radius: 6px;margin-top: 0;margin-bottom: 0;margin-left: auto;margin-right: auto"> <tbody><tr> <td style="padding-top: 0;padding-bottom: 0;padding-left: 0;padding-right: 0;vertical-align: top"> <div><div class="column-top" style="font-size: 30px;line-height: 30px"> </div></div> <table style="border-collapse: collapse;border-spacing: 0;width: 100%" width="100%"> <tbody><tr> <td class="padded" style="padding-top: 0;padding-bottom: 0;padding-left: 40px;padding-right: 40px;vertical-align: top"><a href=""><a href=""><a href=""></td> </tr> </tbody></table> <table style="border-collapse: collapse;border-spacing: 0;width: 100%" width="100%"> <tbody><tr> <td class="padded" height="400" style="padding-top: 0;padding-bottom: 0;padding-left: 40px;padding-right: 40px;vertical-align: top"><h1 style="font-weight: normal; -webkit-font-smoothing: antialiased; font-family: arial; color: #ffffff; margin-bottom: 30px; font-size: 90px; line-height: 40px; text-align: center"> </h1> <h1 style="font-weight: normal; -webkit-font-smoothing: antialiased; font-family: arial; color: #ffffff; margin-bottom: 30px; font-size: 90px; line-height: 50px; letter-spacing:10px; word-break:break-word; text-align: center"><span style="font-size: 50px; font-family: helvetica, arial, sans-serif; color: #ffffff;">/span></h1> <h1 style="font-weight: normal; -webkit-font-smoothing: antialiased; font-family: helvetica, arial, sans-serif; color: #ffffff; margin-bottom: 30px; font-size: 30px; line-height: 40px; text-align: center">sui news </h1> <p style="font-weight: normal; -webkit-font-smoothing: antialiased; font-family: arial; color: #ffffff; margin-bottom: 30px; font-size: 16px; line-height: 24px; text-align: center"><span style="-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: none; padding-top: 0 !important; padding-bottom: 0 !important; padding-right: 0 !important; padding-left: 0 !important; margin-top: 0!important; margin-right: 0!important; margin-bottom: 0!important; margin-left: 0!important; font-family: arial;">some text here</span></p> <p style="margin-top: 0;font-weight: normal;-webkit-font-smoothing: antialiased;font-family: arial;color: #ffffff;margin-bottom: 20px;font-size: 16px;line-height: 24px;text-align: center">some text here</p></td> </tr> </tbody></table> <div class="column-bottom" style="font-size: 10px;line-height: 10px"> </div> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </center> </td> </tr> </tbody></table>
best reference using backgrounds in html email bulletproof backgrounds - http://backgrounds.cm/
it write code (vml , html/css) , gives explanation on insert it.
Comments
Post a Comment