|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Textboxes with imagesHi,
This may be the wrong place to post this, but how do you place an icon inside a textbox? Many of today's toolbars seem to have this feature. Moreover, the icon acts as a menu. Some even have another icon that acts as a close button (it actually clears the textbox). Any ideas on how to do this? Thanks, Roshawn Remember that everything you do has to work in HTML. The <input type='text'>
tag is used for textboxes and it doesn't support images inside the graphics. More than likely, the image isn't in the <input type='text'> tag, its right after it. The programmer has used style sheets to hide the border of the textbox (making it match the background.) Then they enclosed both textbox and image in an <span> tag with its own border. Now it looks like a textbox with an image inside. --- Peter Blum www.PeterBlum.com Email: PLB***@PeterBlum.com Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx Show quoteHide quote "Roshawn Dawson" <udr***@bellsouth.net> wrote in message news:uSH$O6JQFHA.3928@TK2MSFTNGP09.phx.gbl... > Hi, > > This may be the wrong place to post this, but how do you place an icon > inside a textbox? Many of today's toolbars seem to have this feature. > Moreover, the icon acts as a menu. Some even have another icon that acts > as a close button (it actually clears the textbox). > > Any ideas on how to do this? > > Thanks, > Roshawn
Customizing ASP.NEt Hyperlink Control
Need Click Event to Fire from TextBox custom validator and button events Urgent! GridView and templated controls binding---------Plz help Defining server-side Click event for Label web contol ? TemplateControl?? Creating a Tab in web form Windows Explorer style custom control for web How do I post hidden variables to another form from a popup? Sorting problem in Data grid control |
|||||||||||||||||||||||