Y algo así no te serviría:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style>
#txt{ font-family:Verdana, Geneva, sans-serif; font-size:24px; font-weight:bold; color:#F00; z-index:10; position:relative}
</style>
<script type="text/javascript">
function getElementPosition() {
var offsetTrail = this;
var offsetLeft = 0;
var offsetTop = 0;
while (offsetTrail) {
offsetLeft += offsetTrail.offsetLeft;
offsetTop += offsetTrail.offsetTop;
offsetTrail = offsetTrail.offsetParent;
}
return {left:offsetLeft, top:offsetTop};
}
onload=function(){
var shadow=document.getElementById('txt').cloneNode(1);
shadow.style.color='#CCC';
shadow.style.position='absolute';
shadow.style.zIndex=1;
var pos=getElementPosition.call(document.getElementById('txt'));
shadow.style.left=pos.left+2+'px';
shadow.style.top=pos.top+2+'px';
document.body.appendChild(shadow);
}
</script>
</head>
<body>
<div id="txt">ESTE ES UN TEXTO</div>
</body>
</html>