style to bottom
This commit is contained in:
parent
10cb7594d7
commit
8dc2404edd
6
chat.php
6
chat.php
@ -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>
|
Loading…
Reference in New Issue
Block a user