Insert a Picture in a Textbox

Discussion in 'HTML' started by Thomas Weiler, Aug 6, 2008.

  1. Hello,

    is it possible to insert a picture in a textbox? So that for example a
    questionmark is displayed at the right side. Best with css.

    I`ved googled a little but found nothing to this theme.

    Thanks for all answers.
     
    Thomas Weiler, Aug 6, 2008
    #1
    1. Advertising

  2. Thomas Weiler

    Nico Schuyt Guest

    Thomas Weiler wrote:
    > is it possible to insert a picture in a textbox? So that for example a
    > questionmark is displayed at the right side. Best with css.


    <input style="background: url('questionmark.png') no-repeat right"
    type="text" name="Xxxx" size="20">

    --
    Nico
     
    Nico Schuyt, Aug 6, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cannontrodder
    Replies:
    1
    Views:
    735
    cannontrodder
    Jul 25, 2006
  2. reexana
    Replies:
    7
    Views:
    1,596
    Thomas Kellerer
    Aug 2, 2007
  3. Shy
    Replies:
    1
    Views:
    1,036
    Bikal KC
    Aug 21, 2007
  4. tanmaypatankar
    Replies:
    0
    Views:
    1,085
    tanmaypatankar
    Dec 18, 2007
  5. Replies:
    8
    Views:
    1,264
    Mick White
    Apr 19, 2005
Loading...

Share This Page