Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tool tip for Button 2

Status
Not open for further replies.

kann

Programmer
Feb 16, 2000
25
0
0
US
Can i add tool tip for HTML input Button, so that text will be displayed when mouse over the button.If so how can i?
Thanks
kann
 
why dont u want 2 make your own buttons? (gifs or jpegs)
smth like
<input class=&quot;buttons&quot; type=&quot;image&quot; src=&quot;image.gif&quot; width=&quot;96&quot; height=&quot;35&quot; alt=&quot;submit form&quot; border=&quot;0&quot;>

and then use simple image rollover effect for this image.gif

play with it...

regards, vic
 
Thanks, but i don't wnt to put images as buttons.
 
<input type=&quot;button&quot; title=&quot;Text&quot; /> will work for IE and NN6. You'll probably have to use javascript if you want it to work in NN4 though...
 
hie, me again!

i'm still about images:
just found this construction in the BOOK:
<button id=button1>
//whatever u want, for example:
<img src='mybutton.gif' name=button1pic>
</buton>


there also said that button tag support style (absolute positionin), but, i think, it is only for ie

sorry, didnt checked myself, but if someone is nterested...

regards, vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top