style to bottom

This commit is contained in:
lopar 2018-03-08 14:28:31 +02:00
parent 10cb7594d7
commit 8dc2404edd

View File

@ -32,10 +32,14 @@ while ($message = $chat->fetch_assoc()) {
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/main.css">
<style>
form { padding: 3px; position: fixed; bottom: 0; width: 100%; }
form input#msg { border: 0; padding: 10px; width: 90%; margin-right: .5%; }
</style>
</head> </head>
<body> <body>
<form action="chat.php" method="post"> <form action="chat.php" method="post">
<input name="msg" size="100" placeholder="Введите сообщение..."> <input id="msg" name="msg" size="100" placeholder="Введите сообщение...">
<input type="submit"> <input type="submit">
</form> </form>
</body> </body>