html
1・ 2・ 3<table> 4<?php 5include("./upload1.php"); 6?> 7</table> 8・ 9・
としてphpファイルを呼び出しています。
php
1<html> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=SHIFT-JIS"> 4 <link rel="stylesheet" href="/aaa/style.css" type="text/css" /> 5 6 7 <style type="text/css"> 8 select { width: 170px; } 9 </style> 10 11 </head> 12 <body> 13 14 <br> 15 <br> 16 <center> 17 </center> 18 19 20 <div align="center"> 21 <table> 22 23 <form name="f1" action="upload1.php" method="post" enctype="multipart/form-data" accept-charset="SHIFT-JIS" onsubmit="return chkHissu(this)"> 24 25 26 <tr><td><td><td><td><td><td><font size="1">※アップロードするファイルを選択して下さい。</font></td></tr> 27 <tr> 28 29 <td class="td-css"> 30 <center><b>アップロードファイル</b> <font size="1" color="red">※必須</font></center> 31 </td> 32 <td><td><td><td> 33 <td> 34 <INPUT TYPE="file" NAME="upfile" id="file" size="40" > 35 <INPUT TYPE="hidden" name="upfile2" id="hide" VALUE="<?php echo $upfile2; ?>"> 36 </td> 37</tr> 38 39 40 <tr><tr><tr><tr><tr><tr><tr> 41 <tr> 42 <td class="td-css"> 43 <center><b>タイトル</b> <font size="1" color="red">※必須</font></center> 44 </td> 45 <td><td><td><td> 46 <td> 47 <INPUT TYPE="text" id="tx1" size="28" style="font-size:16px;" NAME="tanmek" VALUE="<?php echo $test; ?>"> 48 </td> 49 </tr> 50 <tr><tr><tr><tr><tr><tr><tr> 51 <tr> 52 53 54 55 <td class="td-css"> 56 <center><b>送信者</b> <font size="1" color="red">※必須</font></center> 57 </td> 58 <td><td><td><td> 59 <td> 60 <INPUT TYPE="text" id="tx2" size="28" style="font-size:16px;" NAME="jigmek" VALUE="<?php echo $test2; ?>"> 61 </td> 62 </tr> 63 <tr><tr><tr><tr><tr><tr> 64 65 <tr> 66 <td class="td-css"> 67 <center><b>メールアドレス</b> <font size="1">(任意)</font></center> 68 </td> 69 <td><td><td><td> 70 <td> 71 <INPUT TYPE="text" id="tx3" size="28" style="font-size:16px;" NAME="mailaddress" VALUE="<?php echo $MAIL; ?>"> 72 </td> 73 </tr> 74 75 76 <tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr><tr> 77 78 79 <tr> 80 <td align="right"> 81 <p><span style="margin-left:10px"> 82 <input type="submit" id="submit_button" value="確認画面へ" class="button" onmouseover="this.style.backgroundColor='#00BFFF'" onmouseout="this.style.backgroundColor='#1E90FF'"/> 83 </p> 84 </td> 85 <td><td><td><td> 86 <td align ="light"> 87 <p><span style="margin-left:10px"> 88 <input type="button" id="submit_button" value="リセット" onClick="re2()" onmouseover="this.style.backgroundColor='#00BFFF'" onmouseout="this.style.backgroundColor='#1E90FF'"> 89 </p> 90 </td> 91 </tr> 92 93 </form> 94 </table> 95 96 </div> 97 <br><br> 98 99 <br><br> 100 </body> 101 </html> 102
画面のように現状では、左画面のように項目と入力欄にスペースが空いていません。右画面のように空白を空けるにはどうしたらいいでしょうか?
宜しくお願いします。
回答1件
あなたの回答
tips
プレビュー