style to bottom

This commit is contained in:
lopar 2018-03-08 14:37:14 +02:00
parent e2db0683fa
commit 1c42fa907d

View File

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