初心者でウェブサイトを作成しています。
なんとかアップロードまで漕ぎ着けたのですが問い合わせページの送信内容がどこに届くのか不明です。
ちなみにPHPはあまりよくわかっていません。
このレイアウトはできれば崩さずに作りたいと思っています。
また他のわかりやすい方法があればご教示ください。
どうぞよろしくお願いします!
html cssは以下の通りです。
<div class="form-blk"> <div class="inner2"> <form method="post" action="" enctype=""> <table> <tr> <th><label for="your-name"> Name </label></th> <td><input type="text" name="Name" id="your-name"></td> </tr> <tr> <th><label for="phone-num">Tel </label></th> <td><input type="text" name="Tel" id="phone-num"></td> </tr> <tr> <th><label for="e-mail">E-mail </label></th> <td><input type="text" name="E-mail" id="e-mail"> </tr> <tr> <th><label for="massage">Massage </label></th> <td> <textarea name="お問い合わせ内容" id="message"></textarea></td> </tr> <tr> <td></td> <td> <input type="submit" value="submit" id="btn-submit"> </td> </tr> </table> </form> </div> </div> —————— ``````ここに言語を入力
コード
css .form-blk { /* border: 5px solid red; */ margin-left: 190px; /* margin: 10px 0 0; */ padding: 300px 0; text-align: left; background: #fff; position: relative; } .inner2 { position: absolute; /* border: 5px solid black; */ top: 10px; /* left: 10px; */ } input#your-name, input#phone-num, input#e-mail { font-size: 1.8rem; height: 40px; width: 400px; margin: 10px 0; border: 1px solid #c2c2c2; padding: 10px; box-sizing: border-box; } textarea { font-size: 1.8rem; width: 600px; height: 300px; border: 1px solid #c2c2c2; margin: 10px 0; padding: 10px; box-sizing: border-box; } input:focus { outline: pink 2px solid; } textarea:focus { outline: pink 2px solid; } input#btn-submit { font-size: 1.6rem; font-family: 'Noto Serif JP'; color: #666; width: 100px; height: 40px; text-align: center; line-height: 30px; border: 1px solid #c2c2c2; background: #fff0f5; border-radius: 3px; }