从表列中删除空格

时间:2014-09-03 10:50:36

标签: html

我有一个包含两个图像列和2个图像行的表。我不想要任何空间,但两个图像列之间仍有一些空间。 如何删除空格?

<html>

<table align="center" border="0" cellpadding="0" cellspacing="0" width="602">
            <tr><td>

                <table border="0" cellpadding="0" cellspacing="0" width="602">
                    <tr>
                        <td width="11">&nbsp;</td>
                        <td width="290">
                            <a href="[EMV LINK]305[EMV /LINK]" ><img alt="A-Frame detail from Ambrose at heals"  src="images/208662650.jpg"  width="290" align="right" border="0"/></a>
                        </td>

                        <td width="290">
                            <a href="[EMV LINK]305[EMV /LINK]" ><img alt="A-Frame detail from Ambrose at heals" src="images/961251218.jpg"  width="290" align="left" border="0"/></a>
                        </td>
                        <td width="11">&nbsp;</td>
                    </tr>

                        <tr>
                        <td width="11">&nbsp;</td>
                        <td width="290">
                            <a href="[EMV LINK]305[EMV /LINK]" ><img alt="A-Frame detail from Ambrose at heals"  src="images/665050103.jpg"  width="290" align="right" border="0"/></a>
                        </td>

                        <td width="290">
                            <a href="[EMV LINK]305[EMV /LINK]" ><img alt="A-Frame detail from Ambrose at heals"  src="images/1380993378.jpg"  width="290" align="left" border="0"/></a>
                        </td>
                        <td width="11">&nbsp;</td>
                    </tr>
                </table>

                </td></tr>
            </table>

1 个答案:

答案 0 :(得分:0)

border-spacing: 0px

应该适合你。只需在CSS文件中定义它

即可