Css putin ajutor

Stare
Nu este deschis pentru răspunsuri viitoare.

top49

Membru Banat
Veteran
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
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;	
}
 
Ce framework folosesti? si explica mai clar, deci este vorba despre un formular de anunturi si tu doresti sa apara normal textul acolo.
In primul rand, spune-mi si mie, care input se ocupa de text-ul de acolo, ca nu prea inteleg..

Eu stiu ca un input normal, pentru text este de forma:
Cod:
 <input type="text" name="anunt" />
Tu omiti exact cel mai important lucru, type="text" !

Mai poti utiliza:

Cod:
<textarea name="anunt" cols="10" rows="10" ></textarea>
la cols si rows modifici cum vrei tu.
 
asta se ocupa
Cod:
 <td><input name="body" id="message" style="width:500px; height:200px"/></td>

EDIT: am reusit cu <textarea. multumesc. topic closed!
 
Stare
Nu este deschis pentru răspunsuri viitoare.
Back
Sus