Advertisement
Chessbrain94

Untitled

Jun 28th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.26 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7.     <title>Document</title>
  8.     <link rel="stylesheet" type="text/css" href="newPagesCSS.css">
  9.     <script src="newPagesJS.js"></script>
  10. </head>
  11. <body>
  12.     <div id="page">
  13.         <div id="Header">
  14.                 <ul>
  15.                     <li>Main Page</li>
  16.                     <li Forums</li>
  17.                         <div id="hidden">
  18.                             <ul>
  19.                                 <li>Chess</li>
  20.                                 <li>Networking</li>
  21.                             </ul>
  22.                         </div>
  23.                     <li>Sign Up</li>
  24.                     <li>About Us</li>
  25.                 </ul>
  26.         </div>
  27.         <div id="menu">
  28.                 <form id="form">
  29.                     Username: <br>
  30.                     <input type="text" name="" value="" placeholder="Username" id="Username"> <br>
  31.                     Password: <br>
  32.                     <input type="text" name="" value="" placeholder="Password" id="Password"> <br>
  33.                     Email: <br>
  34.                     <input type="text" name="" value="" placeholder="Email" id="Email"> <br>
  35.                     <br>
  36.                     <div id="block1">
  37.                         Predmet: <br>
  38.                         <input type="radio" name="Predmet" value=""> PR3 <br>
  39.                         <input type="radio" name="Predmet" value=""> BP2 <br>
  40.                         <input type="radio" name="Predmet" value=""> KT  <br>    
  41.                     </div>        
  42.                     <div id="block2">
  43.                         Certifikati: <br>
  44.                         <input type="checkbox" name="" value=""> CCNA <br>
  45.                         <input type="checkbox" name="" value=""> MCSA <br>
  46.                         <input type="checkbox" name="" value=""> JNCA <br>                                              
  47.                     </div>
  48.                     <br>
  49.                     <button type="submit" id="button">Submit</button>
  50.                 </form>
  51.         </div>      
  52.     </div>
  53. </body>
  54. </html>
  55.  
  56. --------------------------------------------------------------------
  57.  
  58. body{
  59.     background-color: blue
  60. }
  61. #page{
  62.     width: 100%;
  63.     height: 100%;
  64. }
  65. #menu{
  66.     background-color: lightblue;
  67.     border: 1 solid red;
  68.     border-radius: 5%;
  69.     margin: auto;
  70.     display: inline-block;
  71.     width: 20%;
  72.     height: 30%;
  73.     position: absolute;
  74.     left: 0;
  75.     right: 0;
  76.     box-shadow: 2px 2px 2px red;
  77. }
  78. #form{
  79.     margin-top: 10px;
  80.     margin-left: 10px;
  81. }
  82. input{
  83.     margin-left: 10px;
  84. }
  85. #block1{
  86.     display: inline-block;
  87.     width: 50%;
  88.  
  89. }
  90. #block2{
  91.     display: inline-block;
  92. }
  93. #button{
  94.     margin-top: 20px;
  95. }
  96. #hidden{
  97.     display: none;
  98. }
  99. #hidden li{
  100.     background-color: white;
  101.     display: inline-block;
  102. }
  103. li{
  104.     text-decoration: none;
  105.     list-style: none;
  106.     display: inline-block;
  107.     margin-right: 30px;
  108. }
  109. #Header ul{
  110.     text-align: center;
  111. }
  112. #Header{
  113.     background-color: lightblue;
  114. }
  115. #dropdown:hover #hidden{
  116.     display: block;
  117. }
  118.  
  119. --------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement