http://s11.postimg.org/ib9xzumz7/add1.png
http://s11.postimg.org/7pq2nugnn/addd.png
1) as vrea sa imi inceapa textu de sus cand incepe sa scrie nu de la mijloc
2)nu trece niciodata pe un nou rand
codu de la acea pagina
codu css
http://s11.postimg.org/7pq2nugnn/addd.png
1) as vrea sa imi inceapa textu de sus cand incepe sa scrie nu de la mijloc
2)nu trece niciodata pe un nou rand
codu de la acea pagina
Cod:
<body>
<div id="nav">
<b>{{ current_user["name"] }}</b> -
<a href="/auth/logout">{{ _("Sign out") }}</a>
</div>
<div id="body">
<div id="inbox">
{% for message in messages %}
{% module Template("message.html", message=message) %}
{% end %}
</div>
<div id="navlogin">
<form action="/a/message/new" method="post" id="messageform">
<table>
<tr>
<td><input name="body" id="message" style="width:500px; height:200px"/></td>
<td style="padding-left:5px">
<input type="submit" value="{{ _("Post") }}"/>
<input type="hidden" name="next" value="{{ request.path }}"/>
{% module xsrf_form_html() %}
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
codu css
Cod:
body {
background-color: #669999
}
body,
input {
font-family: sans-serif;
font-size: 10pt;
color: black;
}
table {
border-collapse: collapse;
border: 0;
}
td {
border: 0;
padding: 0;
}
#body {
position: absolute;
bottom: 10px;
left: 10px;
}
#input {
margin-top: 0.5em;
}
#inbox .message {
padding-top: 0.25em;
}
#nav {
float: right;
z-index: 99;
}
#navmainadd {
position: fixed;
top: 39%;
left: 33%;
border:1px dashed #333;
background-color:#eee;
}
#navlogin {
position: fixed;
top: 45%;
left: 35%;
border:1px dashed #333;
background-color:#eee;
}
#navlogout {
position: fixed;
top: 45%;
left: 42%;
border:1px dashed #333;
background-color:#eee;
}