Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/01/2013, 03:44
Avatar de guardarmicorreo
guardarmicorreo
 
Fecha de Ingreso: noviembre-2012
Ubicación: Córdoba
Mensajes: 1.153
Antigüedad: 11 años, 5 meses
Puntos: 84
no logro quitar box-shadow:inset; de input

He creado una hoja de estilos css3, con un reset css3 para los navegadores y poner mi estilo. Luego dentro de ese mismo documento he creado una clase para dar forma y tamaño a las cajas de input type text.

El problema es que al darles forma y tamaño a las cajas les sale una sombra interior que no he establecido ni quiero.

Este es el código del css, al principio está el reset para navegadores, al final está la clase para el input type text

Código CSS:
Ver original
  1. @charset "utf-8";
  2. /* CSS Document */
  3.  
  4. /*
  5.  
  6. ANULA TODO EL CSS3 POR DEFECTO DE LOS NAVEGADORES
  7.  
  8. */
  9. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  10.  margin: 0;
  11.  padding: 0;
  12.  border: 0;
  13.  outline: 0;
  14.  font-size: 100%;
  15.  vertical-align: baseline;
  16.  background: transparent;
  17.  }
  18. body {
  19.  line-height: 1;
  20.  }
  21. ol, ul {
  22.  list-style: none;
  23.  }
  24. blockquote, q {
  25.  quotes: none;
  26.  }
  27. blockquote:before, blockquote:after, q:before, q:after {
  28.  content: '';
  29.  content: none;
  30.  }
  31. <em>/* No olvides definir estilos para focus */</em>
  32.  :focus {
  33.  outline: 0;
  34.  }
  35. <em>/* No olvides resaltar de alguna manera el texto insertado/borrado */</em>
  36. ins {
  37.  text-decoration: none;
  38.  }
  39.  del {
  40.  text-decoration: line-through;
  41.  }
  42. <em>/* En el código HTML es necesario añadir cellspacing="0" */</em>
  43.  table {
  44.  border-collapse: collapse;
  45.  border-spacing: 0;
  46.  }
  47.  
  48. /*
  49.  
  50. DA FORMA Y TAMAÑO A LOS INPUT TYPE TEXT DE LOGIN
  51.  
  52. */
  53.  
  54. input.texto{
  55.     width:109px;
  56.     height:9px;
  57.     box-shadow:none; /* SE SUPONE QUE SUPRIME TODA SOMBRA, PERO NO LO HACE*/
  58.     border-top-left-radius:10px;
  59.     border-top-right-radius:10px;
  60.     border-bottom-left-radius:10px;
  61.     border-bottom-right-radius:10px;
  62. }

esta es la imagen del resultado con ese código



¿Alguien sabe cómo solucionarlo?

Gracias!!