In my case, I needed a table that looked like overlapping fields, in which the background field ended to the end of the line, and the foreground field began with the indent from the beginning of the line. After reading every Q / A website offered here, and trying every alternative that ultimately works, indicated a window shadow, for example:
<table style="margin-right: auto; margin-left: auto; width: 100%;" cellspacing="0" cellpadding="3"> <tbody> <tr> <td colspan="4" style="width: 90%; background-color: navy;"> <span style="color: #ffffff;">Background Box Line 1</span> </td> <td style="width: 10%;"> </td> </tr> <tr> <td style="background-color: navy; width: 25%; box-shadow: 0px -1px 0px navy;"> <span style="color: #ffffff;">BG Box Line 2</span> </td> <td colspan="4" rowspan="2" style="background-color: red; width: 75%;"> Foreground Box Line 1<br> Foreground Box Line 2 </td> </tr> <tr> <td> </td> </tr> </tbody> </table>
The line I had to get rid of was a thin horizontal line of spaces between the 2-inch "naval" cells appearing on the iPhone, and box-shadow: 0px -1px 0px navy; allowed me to lay a thin line of the navy over the lower naval cell and fill it otherwise it was a gap between the upper and lower naval cells.
Ed morton
source share