Forums

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?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26529
    for_vt
    Member

    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

    #65890
    cybershot
    Participant

    try this

    Code:

    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; }

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.