style to bottom

This commit is contained in:
lopar 2018-03-08 14:37:14 +02:00
parent e2db0683fa
commit 1c42fa907d
1 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@ while ($message = $chat->fetch_assoc()) {
<link rel="stylesheet" href="css/main.css">
<style>
form { padding: 3px; position: fixed; bottom: 0; width: 100%; }
form input[type="text"] { border: 0; padding: 10px; width: 90%; margin-right: .5%; }
form input[type="submit"] { width: 9%; border: none; padding: 10px; }
form input { border: 0; padding: 10px; width: 80%; margin-right: .5%; }
form input[type="submit"] { width: 15%; border: none; padding: 10px; }
</style>
</head>
<body>
<form action="chat.php" method="post">
<input id="msg" name="msg" size="100" placeholder="Введите сообщение...">
<input type="submit">
<input type="submit" value="Отправить">
</form>
</body>