Overlap table cells in HTML with margins -


I am trying to email an HTML which the code has overlapped. There is no problem with doing this with Divs, but it needs to do with the tables and I have not played with the tables in years!

Enter image details here

I have a green shield To be displaced from the top and overflow in the lower part of the row, the blue line will have a background image and the green color will be the color of a solid background. I have tried nesting in a new table inside the line and tried to make the line longer than the background image, but I want to know if there is any other solution.

It is currently in my:

   & Lt; / TR & gt; & Lt; Tr height = "400" style = "background-color: # f0c;" & Gt; & Lt; Td colspan = "2" & gt; & Lt; Height of the table = "400" width = "800" range = "0" cell area = "0" & ​​gt; & Lt; TR & gt; & Lt; Td height = "100" colspan = "2" & gt; Here are some lessons & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td width = "500" height = "278" & gt; & Lt; / Td> & Lt; Td width = "300" style = "background-color: # 0fc;" & Gt; More text here & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / TD & gt; & Lt; TR & gt; & Lt; Td height = "98" colspan = "2" style = "background-color: # hidden;" & Gt; & Lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt;  

Thanks advance!

Try the code below

I have yet to add new simplified HTML structure and apply Line-style is created.

If you are trying to create an email template you should use in-line styles Email Template does not support internal & amp; External stylesheet

  & lt; Table style = "width: 500px;" Cellpadding = "10" cellpacing = "0" & ​​gt; & Lt; Tr style = "background: # ff888a;" & Gt; & Lt; Td width = "50%" & gt; First & lt; / Td> & Lt; TD & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; Tr style = "background: # 00C6FF;" & Gt; & Lt; Td colspan = "2" & gt; First & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td style = "background: # 00C6FF;" & Gt; First & lt; / Td> & Lt; Td style = "background: # 00FF95;" & Gt; Overlay content & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td style = "background: # 00C6FF;" & Gt; First & lt; / Td> & Lt; Td style = "background: # 00FF95;" & Gt; & Lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td style = "background: #fff;" & Gt; First & lt; / Td> & Lt; Td style = "background: # 00FF95;" & Gt; & Lt; / Td> & Lt; / TR & gt; & Lt; Tr style = "background: #fff;" & Gt; & Lt; Td colspan = "2" & gt; First & lt; / Td> & Lt; / TR & gt; & Lt; Tr style = "background: # ff888a;" & Gt; & Lt; Td colspan = "2" & gt; First & lt; / Td> & Lt; / TR & gt; & Lt; Tr style = "background: # ff888a;" & Gt; & Lt; Td colspan = "2" & gt; First & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt;  


Comments