Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/01/2013, 18:34
KevinWeb
(Desactivado)
 
Fecha de Ingreso: diciembre-2011
Mensajes: 35
Antigüedad: 12 años, 4 meses
Puntos: 0
Pregunta Textare + base de datos+ br remplazar enter por br

bueno estoy creando una web de frases, pero cuando creo una frase por ejemplo

hola me llamo
kevin web

se crea la frase pero sale para el lado no para abajo como hacer ese es mi text area

Código PHP:
<div class="crearNuevaFrase">
        <
h1Crea tu Mejor <strong>Frase Facebook</strongAqui </h1>
        <
div id="errorMsg"></div><html xmlns:fb="http://ogp.me/ns/fb#">
        <
script type="text/javascript">var msg 'Escribe tu frase aqui...';</script>
          <form method="POST" action="index.php">
        <table cellspacing="0" cellpadding="0">
        <tbody><tr>
            <td>
            <textarea name="like" id="texto" onblur="if(this.value == '') this.value = msg;" onclick="if(this.value == msg) this.value = '';" autocomplete="off" value="Escribe tu frase aqui..." style="overflow: hidden;">Escribe tu frase aqui...</textarea>

<div style="position: absolute; display: none; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgb(180, 187, 205); font-weight: normal; width: 510px; font-family: Arial, Tahoma, Verdana, sans-serif; line-height: normal; font-size: 13px; padding: 4px;">Escribe tu frase aqui...&nbsp;</div></td>
            <td>
            <div class="submit">
                <input class="botonCrear" type="submit" value="Crear Frase">
            </div>
            </td>
        </tr> 
lo copie mal creo jaja pero ese es

Última edición por KevinWeb; 30/01/2013 a las 19:36