Ver Mensaje Individual
  #5 (permalink)  
Antiguo 24/06/2011, 06:07
sirdaiz
 
Fecha de Ingreso: diciembre-2010
Mensajes: 459
Antigüedad: 13 años, 4 meses
Puntos: 21
Respuesta: Borde redondeado

Al final lo he logrado, haciendo esto por si a alguien le interesa

Código PHP:
Ver original
  1. div class="round2">
  2.          <div class="round">Prueba<hr></div>
  3. Probando
  4. </div>
  5.  
  6. y el css
  7.  
  8. div.round{
  9.    width:100px;
  10.    height:auto;
  11.    background:#E0E0E0;
  12.   border-radius: 9px;
  13.    -moz-border-radius-topleft:9px;
  14.    -webkit-border-top-left-radius:9px;
  15.    -moz-border-radius-topright:9px;
  16.    -webkit-border-top-right-radius:9px;
  17.    text-align:center;
  18.    
  19.    top: 50%;
  20. left: 50%;
  21.  
  22. }
  23.  
  24. div.round2{
  25.    width:100px;
  26.    height:auto;
  27.    background:#E6E6FA;
  28.   -webkit-border-radius: 9px;
  29.    -moz-border-radius: 9px;
  30.    border-radius: 9px;
  31. }

Saludos