그래서 나는이 전투에서 이기기 위해 몇 시간을 잃었습니다. 운이 없었습니다. 요약하면, 나는 3 개의 10px 이미지를 가진 테이블을 채우려고 노력하고 있지만, GMail은 각 셀을 16px로 만듭니다. 여기에 내가 함께 일하고있다 :Gmail에 spacer.gif가 포함 된 TD를 16px 높이로 넣으려고
<table border="0" cellpadding="0" cellspacing="0" width="550" style="height:10px !important">
<tr style="height:10px" height="10">
<td width="10" height="10" style="height:10px !important">
<img src="http://s3.amazonaws.com/meagain/images/templates/letterhead/corner_tl.gif" style="display:inline; padding: 0px; margin:0px" width="10px" height="10px"></td>
<td width="531" height="10" style="height:10px !important; background-color:#FFFFFF;">
<img src="http://s3.amazonaws.com/meagain/images/templates/letterhead/spacer.gif" style="display:inline; padding: 0px; margin:0px" width="10px" height="10px"></td>
<td width="9" height="10" style="height:10px !important">
<img src="http://s3.amazonaws.com/meagain/images/templates/letterhead/corner_tr.gif" style="display:inline; padding: 0px; margin:0px" width="9px" height="10px"></td>
</tr>
</table>
나는 많은 것을 시도해 왔기 때문에 많은 중복 속성이 있다는 것에 사과한다. 기본적으로 테이블을 정확히 10px 높이로 만들려고합니다. 상관없이, 그러나, Gmail은 그것을 16px 높이합니다. 개발자 도구를 사용하여 소스 코드에서 세 개의 이미지를 모두 삭제하면 표가 10 픽셀로 축소됩니다. 또한 3 개의 이미지 중 2 개를 삭제하면 16 픽셀로 유지됩니다. 이미지에 이미지가 있거나 이미지 주위에 3 픽셀의 패딩이있는 경우 TD가 16 픽셀이어야하는 것과 같습니다.
경험이있는 사람이 있습니까? 그리고 그렇다면 어떤 아이디어입니까? 나는 아직 언급 할 수
더 많은 정보를 얻을 수 있습니까? 어떻게 그리고 어디서 이런 일이 일어나고 있습니까? gmail.com에서 동적으로 테이블 코드를 삽입합니까? 또는 기존 테이블을 편집하고 있습니까? 이것은 Chrome 확장 프로그램을 통해 무엇입니까? – mrtsherman