a simple help

Discussion in 'HTML & Website Design' started by dezigngeek, May 31, 2009.

  1. #1
    hi,

    i needed a little help on HTML...i am currently designing a photoshop mockup into XHTML. i have a designed a search box for users to enter their search querry and search. i have also inserted a code that displays the value saying "type your search here" in the box provided. I need that message to vanish when user clicks on the box and it should show a blank box before the user starts to type the querry. can anyone help me with the code.

    So far the code goes as follows

    <input type="text" maxlength="20" size="25" value="Type your search.."/>

    Please help.

    Regards
     
    dezigngeek, May 31, 2009 IP
  2. CoryR

    CoryR Active Member

    Messages:
    68
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    70
    #2
    Use this technique.
     
    CoryR, May 31, 2009 IP
  3. dezigngeek

    dezigngeek Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Thanks for the help...it definetely was useful :)

    Regards
     
    dezigngeek, May 31, 2009 IP