I have text(field) that I would like to have certain text be hi-lited, does anyone know if this can be done?
Thanks in advance!
Moderator: General Moderators
Code: Select all
<style>
.myclass1{color:#ff0000;}
</style>Code: Select all
$option = 1; //change this to use another class, eg green, blue, etc, etc...
echo "<input type='text' name='text1' id='text1' class='myclass$option' />\n";