Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The page is very simple here:
http://maishudi.com/test.php
Code:
<table> <tr> <td valign="top"> <input type="text" /> <iframe scrolling="no" height="21px" frameborder="0" width="62px" marginheight="0" marginwidth="0" src="Server/SecCode.php"> </iframe> </td> </tr> </table>
(source: maishudi.com)
2 つの td を使用します。1 つは入力用、もう 1 つは iframe 用です。
または、テーブルをまったく使用せず、CSS を使用してfloatプロパティを使用して項目を配置します。
tdタグのvalign属性を使用します。
.. <td valign="top"> </td>
編集:
これを試して、
<table> <tr> <td><input type="text" /></td> <td><iframe scrolling="no" height="21px" frameborder="0" width="62px" marginheight="0" marginwidth="0" src="http://maishudi.com/Server/SecCode.php"> </iframe> </td> </tr> </table>