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!
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:
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
Post a Comment