css - Html email align text and image -


I'm having trouble aligning an image with some text. The problem is only Outlook 03.07 & amp; 10. To get a better understanding of my problem, see this picture: Enter image details here

This is my code:

  & lt; Td valign = "middle" style = "color: #fff; font-size: 18px; padding-left: 3%;" Width = "600" height = "34" bgcolor = "# 1a292f" & gt; & Lt; Span class = "nonmobile_content" & gt; Ondag & lt; / Span & gt; & Lt; Span style = "font-weight: bold" & gt; 21.03 & lt; / Span & gt; & Lt; Span style = "color: # 87 bcd8;" & Gt; 2013 & lt; / Span & gt; & Lt; Span style = "color: # 87 bcd8;" & Gt; Uke 11 & lt; / Span & gt; & Lt; Period & gt; & Lt; Img src = "retriever-logo-top.png" align = "right" & gt; & Lt; / Span & gt;   

Is there any reason that you are putting all of this Are instead of putting an image in a separate cell in a table cell? You can simply:

  & lt; Tr & gt; & Lt; Td colspan = "2" & gt; Retrievers (1), Season (2), ... & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td ... & gt; & Lt; Span class = "nonmobile_content" & gt; Ondag & lt; / Span & gt; & Lt; Span style = "font-weight: bold" & gt; 21.03 & lt; / Span & gt; & Lt; Span style = "color: # 87 bcd8;" & Gt; 2013 & lt; / Span & gt; & Lt; Span style = "color: # 87 bcd8;" & Gt; Uke 11 & lt; / Span & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Img src = "retriever-logo-top.png" align = "right" & gt; & Lt; / TD & gt; & Lt; / TR & gt;   

Just add it to the table by adding td to width to everyone:

  & lt ; Table width = "600" & gt;    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -