From aryx, 2 Years ago, written in CSS.
Embed
  1. /*
  2. To change this license header, choose License Headers in Project Properties.
  3. To change this template file, choose Tools | Templates
  4. and open the template in the editor.
  5. */
  6. /*
  7.     Created on : 2018.10.21., 18:29:43
  8.     Author     : orsol
  9. */
  10.  
  11. #kozepre-igazitott-div {
  12.     background-color:#99f;
  13.    
  14.     margin-left:auto;
  15.     margin-right:auto;
  16.     width:600px;
  17.    
  18.     height:300px;
  19.    
  20.     padding:30px;
  21. }
  22.  
  23. h1 {
  24.     text-align: center;
  25. }
  26.  
  27. div.bal-kontener {
  28.     float:left;
  29. }
  30.  
  31. div.jobb-kontener {
  32.     float:right;
  33.     padding-top:20px;
  34. }
  35.  
  36. div.form-mezo {
  37.     margin:15px;
  38. }
  39.  
  40. label {
  41.     width:50px;
  42.     display:inline-block;
  43. }
  44.  
  45. input[type="text"], input[type="password"], input[type="number"], input[type="email"] {
  46.     width:150px;
  47. }