Encontré como hacerlo en la siguiente página:
http://www.webestilo.com/foros/mensa...o=16&msg=38905 Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
<html>
<head>
<title>Untitled</title>
<style type="text/css">
#contenedor {
width: 90px;
position: relative;
margin: 0px auto;
}
#capa1 {
position: absolute;
left: 0;
top: 0;
width: 90px;
color: red;
z-index: 2;
}
#capa2 {
position: absolute;
left: 0;
top: 0;
width: 90px;
color: black;
z-index: 1;
}
</style>
</head>
<body>
<div id="contenedor">
<div id="capa1">
sdfhsdfhsdfh<br />
ertwtwetwre<br />
wetwetwet
</div>
<div id="capa2">
srgreghwerhr<br />
xfgfghxfgh<br />
xfghxfghxfg
</div>
</div>
</body>
</html>
Por cierto recomiendand lo siguiente: "Ah, y no olvides usar XHTML Strict como DOCTYPE."
Yo no lo estoy usando, que significa eso?
Un saludo