style to bottom

This commit is contained in:
lopar 2018-03-08 14:28:31 +02:00
parent 10cb7594d7
commit 8dc2404edd
1 changed files with 5 additions and 1 deletions

View File

@ -32,10 +32,14 @@ while ($message = $chat->fetch_assoc()) {
<head>
<meta charset="utf-8">
<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>
<body>
<form action="chat.php" method="post">
<input name="msg" size="100" placeholder="Введите сообщение...">
<input id="msg" name="msg" size="100" placeholder="Введите сообщение...">
<input type="submit">
</form>
</body>