Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/06/2009, 07:20
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 10 meses
Puntos: 539
Respuesta: Quitar espacios entre elemento <button>?

Añadiendo unos márgenes negativos corregirás la separación de "button"
Código css:
Ver original
  1. .prev {margin-right:-5px;}
  2. .today {margin: 0 -5px;}
  3. .next {margin-left: -5px;}
ajusta los valores para que sean exactos.

Sin entrar en el error que es colocar de esa forma el elemento "button".
Cita:
document type does not allow element "button" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
Cita:
<button class="prev"><img src="izq.jpg" alt="image" /></button>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
Si no fuese realmente un botón y sí un menú, sería mejor que hicieses eso con una lista

Un saludo
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++

Última edición por kseso?; 30/06/2009 a las 07:26