Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset = "UTF-8">
- <title><?php echo "TestPage"; ?></title>
- <link rel="stylesheet" href="style.css" type="text/css" />
- </head>
- <body>
- <div class="maindiv">
- <h1>Welcome Home</h1>
- <div class="divlogin">
- <h3>Please insert your data to login:</h3>
- Username: <input type="text"> <br>
- Password: <input type="password"> <br>
- <button type="submit" name="submit" action="submit">Login</button>
- </div>
- <div class="divregister">
- <h3>Please insert your data to register:</h3>
- Username:<input type="text"> <br>
- Password:<input type="password"> <br>
- E-mail: <input type"Email"> <br>
- <button type="login" name="submit" action="submit">Register</button>
- </div>
- </div>
- </body>
- </html>
- //////////////////////////////////CSS//////////////////////////////////////////
- body
- {
- margin:0px 0;
- padding:0px 0;
- }
- .maindiv
- {
- margin-left:18%;
- margin-top:50px;
- background:#DDD;
- border:1px solid;
- width:800px;
- height:330px;
- padding:10px;
- }
- .maindiv h1
- {
- text-align:center;
- text-decoration:underline;
- }
- .divlogin{
- border:1px solid;
- width:300px;
- height:200px;
- padding:10px;
- }
- button
- {
- margin-left:30%;
- }
- .divregister
- {
- border:1px solid;
- width:499px;
- margin-left:300px;
- margin-top:-202px;
- height:248px;
- padding:10px;
- }
- .divregister h3
- {
- text-align:center;
- }
- input{
- margin:10px;
- margin-left:10px
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement