Hola
dieguito01
Prueba este ejemplo:
Código PHP:
<html>
<head>
<style type="text/css">
.busca {background:url(imagen.jpg)}
</style>
</head>
<body>
<input type="text" class = 'busca' onfocus = "this.className=''" onblur = "this.className= (this.value!='') ? '' : 'busca'" />
</body>
</html>
Saludos,