JustMinecraftPlayer

Example of not found page in html

Apr 17th, 2022 (edited)
1,226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.07 KB | None | 0 0
  1. <!--example of not found page in html-->
  2.  
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6.     <meta charset="UTF-8">
  7.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9.     <title>Not found</title>
  10. </head>
  11. <body>
  12.     <style>
  13.         #container{
  14.             margin: auto;
  15.             height: auto;
  16.             width: 25rem;
  17.             background-color: #ffffff;
  18.             border-radius: .5rem;
  19.             text-align: center;
  20.             padding: 10px;
  21.             transform: translateY(20rem)
  22.         }
  23.         body{
  24.             background-color: #383838;
  25.             font-family: sans-serif;
  26.         }
  27.         hr{
  28.             width: 20rem;
  29.         }
  30.     </style>
  31.     <div id="container">
  32.         <h1>Page not found</h1>
  33.         <hr>
  34.         <h2>Insert information here</h2>
  35.     </div>
  36.     <script>
  37.         /*Div centerer*/
  38.         document.getElementById('container').style.transform = document.getElementById('container').innerHTML.length/2.95 + "rem"
  39.     </script>
  40. </body>
  41. </html>
Add Comment
Please, Sign In to add comment