Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/08/2013, 04:57
Avatar de pzin
pzin
Moderata 😈
 
Fecha de Ingreso: julio-2002
Ubicación: Islas Canarias
Mensajes: 10.488
Antigüedad: 21 años, 9 meses
Puntos: 2114
Respuesta: ¿Como coloco texto sobre imagen?

Podrías hacerlo todo con CSS jugando con fondos múltiples y linear-gradient:

Código CSS:
Ver original
  1. div {
  2.   background-color: #fff;
  3.   background-image:
  4.     linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
  5.     linear-gradient(#eee .1em, transparent .1em);
  6.   background-size: 100% 1.2em;
  7. }

http://jsfiddle.net/6txT4/