javascript - Trying to move the submit button to the bottom of the page -


how move move button bottom of page? tried , not working. have tried margin-bottom: 0px; button still not move bottom

 <form tag="create logon">     <div id="layer">     </div>     <div class="left">         fistname *:     </div>     <div class="right">         <input type="firstname" name="firstname" style="width: 300px; font-size: 14pt; margin-left: 40px;" />     </div>     <div class="right">         <input type="username" name="username" style="width: 300px; font-size: 16pt; margin-left: 40px;" />     </div>     <div class="left">         password *:     </div>     <div class="right">         <input type="password" name="password" style="width: 300px; font-size: 16pt; margin-left: 40px;" />     </div>     <p>note: please make sure details correct before submitting form , fields marked * completed!</p>     <button onclick="myfunction()">submit</button>     <script>         function myfunction() {             alert("thank registering greenb!");         }     </script> </div> 

use absolute positioning:

button {     position:absolute;     bottom:0; } 

jsfiddle example


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -