Leonardo Zago

Leonardo Zago

  • NA
  • 7
  • 4.9k

Border I don’t want around TEXTBOX vml-object

Dec 20 2012 1:50 PM

Hi, i'm new, hope to be writing in the right place.

I've tried to fix a problem for two weeks, and now I'm going out of my mind.

 

 

M_aybe it's simple:

I'm creating an email containing images, and text over the images. Obviously, using the simple HTML with table-tr-td doesn't work with most of users (especially for those who use Outlook). I starded working with VMLNow I have a rendering problem when sending from Outlook to Apple MailI think the TEXTBOX generate a border, or a margin, as soon as I write some text inside it.

 

 

 

Here's the code:

  <table width="800" border="0" cellpadding="0" cellspacing="0" bgcolor="#cccccc">

    <tr>

 

<td background="http://www.smile.sm/upload/kit_smile/img/4c-yt-right.jpg" bgcolor="#cccccc" width="246" height="176" align="left" valign="middle">

  <!--[if gte mso 9]>

  <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:246px;height:176px;">

    <v:fill type="tile" src="http://www.smile.sm/upload/kit_smile/img/4c-yt-right.jpg" color="#cccccc"></v:fill>

    

<v:textbox inset="0,0,0,0" style="

    v-padding-auto: true;

    padding-left:0;

    padding-top:0;

    padding-right:0;

    padding-bottom:0;

    v-text-anchor: middle;

    v-text-wrapping: true;

    v-text-flow: horizontal;

    v-text-direction: rtl">

  <![endif]-->

 

<font size="2" face="Helvetica, Lucida Grande, Arial"><strong>Smile in azione su YouTube.</strong><br/>Nel canale di YouTube puoi trovare<br/>diverse soluzioni di etichette Smile.<br/><a href="http://www.youtube.com/user/MachSpaFlexo/videos?query=Smile" style="text-decoration:none;">Clicca qui per guardare i video!</a></font>

 

<!--[if gte mso 9]>

</v:textbox>

 

  </v:rect>

  <![endif]-->

</td>

 

    </tr>

  </table>

 

 

 

And here how it renders: http://i.imgur.com/Twbra.png

You can notice that gray border around the text...


Answers (3)