Hola
Nova
Prueba este ejemplo:
Código PHP:
<html>
<head>
<style type="text/css">
.normal, .foco {border: 1px solid}
.normal {border-color: black}
.foco {border-color: blue green green blue}
</style>
</head>
<body onload = "document.forms[0].elements[0].focus()">
<form>
<input type="text" onfocus = "this.className='foco'" onblur = "this.className='normal'" />
<input type="text" onfocus = "this.className='foco'" onblur = "this.className='normal'" />
</form>
</body>
</html>
Cambia los colores de los bordes a tu gusto.
Saludos,