Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/07/2010, 16:20
luxito
 
Fecha de Ingreso: junio-2010
Mensajes: 56
Antigüedad: 13 años, 10 meses
Puntos: 3
Respuesta: ¿css en Linea o Separado?

Ambos divs continúan con el efecto del vertical del td =/

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>titulo</title>
<style type="text/css">
td {
vertical-align:top;
height: 300px;}
.uno {
vertical-align:baseline;}
</style>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <div class="uno">Mi texto uno</div>
    <div class="dos">Mi texto dos</div>
    </td>
  </tr>
</table>
</body>
</html>
Lo que trato de hacer es que el DIV dos se mantenga abajo(por el vertical aling de la celda) y que el DIV uno continué en su linea(osea el top)

quizá no sea posible hacer esto cuando se usa tabla?