The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Change the default gray color of an text field box to blue?
Hello,
I am using Dreamweaver and Spry Widgets to create a form. The form text boxes are always a default light gray. I want the box to have a light blue outline. Does anyone know a way to do this? Is it with CSS? In the widgets somewhere?
Thanks for your help! Christina
try this
give your input box an id. Mine is name
then is your css do this
input#name { border: 1px solid blue; }
if you want the different background color, use
background: blue; or whatever color you want using hex values
so all together would be
input#name { border: 1px solid blue; background: blue; }