Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/06/2006, 10:11
Avatar de caneva
caneva
 
Fecha de Ingreso: junio-2006
Ubicación: Sevilla (España)
Mensajes: 81
Antigüedad: 17 años, 9 meses
Puntos: 1
Si solo quieres quitar el espacio superior e inferior y el derecho e izquierdo tienen el mismo valor puedes utilizar la sintaxis siguiente:

Código:
h2
{
padding:0px 10px;

border:0px 10px;

magin:0px 10px;

}
Esto hará que los valores para arriba y abajo sean 0px y para derecha e izquiera 10px.

Border sustituye a border-width como puedes leer a continuación:
Cita:
Border:
Specifies the border of a box. The value can combine border-style, border-width and border-color for a whole four-sided border (with the border property) or just one side of a border (with the other four).
__________________
Cita:
"El camino empieza renunciando al control, y volviéndose flexibles."