Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/03/2012, 05:37
ima_creste
 
Fecha de Ingreso: febrero-2012
Ubicación: Bilbao
Mensajes: 33
Antigüedad: 12 años, 3 meses
Puntos: 3
Respuesta: poner imagen de fondo o fondo de color a un texto?

Hola

En principio debería de mostrarte diferentes fondos en esos espacios en blanco

Si metes color, te muestra todo OK:
texto {
font-family: "Courier New", Courier, monospace;
font-size: 16px;
color: #000;
background-image: url(fondo2.gif);
background-repeat: no-repeat;
}
.texto-2 {
font-family: "Courier New", Courier, monospace;
font-size: 16px;
color: #000;
background-repeat: no-repeat;
background-image: url(fondo.gif);
background-color:red;
}
.texto-3 {
font-family: "Courier New", Courier, monospace;
font-size: 16px;
color: #000;
background-repeat: no-repeat;
background-image: url(fondo3.gif);
background-color:blue;
}
.texto-4 {
font-family: "Courier New", Courier, monospace;
font-size: 16px;
color: #000;
background-repeat: no-repeat;
background-image: url(fondo4.gif);
background-color:yellow;
}


Por tanto el problema puede venir porque no repites la imagen, o pork la estes posicionando fuera del SPAN...

De todos modos, si pones una URL para revisar código fuente ayudaría bastante, por que sino es como buscar aguja en un pajar

Saludos
__________________
www.imacreste.com