如何添加顺利谷歌添加到代码中

时间:2014-01-26 08:15:32

标签: php html

<form action="loop.php" method=post>
    <table>
    <tr>
        <td colspan="2" align ="center">Wyslij komus e-mail!</td>
        <td rowspan="7">
        <google ad/>
        </td>
    </tr>
    <tr>
        <td><br/></td>
        </tr>
        <tr>
        <td>Adresat:</td>
        <td align="center"><input type="text" name="adresat" /></td>
    </tr>
        <tr>
        <td>Temat: </td>
        <td align="center"><input type="text" name="temat" /></td>
    </tr>
    <tr>
        <td>Ilosc wiadomosci: </td>
        <td align="center"><input type="number" name="iloscwiadomosci" min="1" max="99"/></td>
    </tr>
    <tr>
        <td>Tresc: </td>
        <td align="center"><input type="text" name="tresc" /></td>
    </tr>
    <tr>
        <td colspan="2" align="center"><input type="submit" value="Wyslij!" /></td>
    </tr>
    </table>
</form>

这就是网站现在的样子http://imgur.com/djkGghB 问题是我不想让行更宽,如何纠正它?

1 个答案:

答案 0 :(得分:1)

您可以在其周围放置另一张桌子:JSFiddle

<table>
<tr>
    <td style="vertical-align:top">
        your form here          
    </td>
    <td>
        your ad here
    </td>
</tr>
</table>