Web Analytics Made Easy -
StatCounter image in button - CodingForum

Announcement

Collapse
No announcement yet.

image in button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • image in button

    is there a way to put a picture in a button or text box?

  • #2
    Please do not cross-post your questions from one forum to another.

    .....Willy

    Comment


    • #3
      Been so long 'cause I call on everything form a style sheet...but I think it's:
      <input type="image" src="cat.gif">
      which defaults to a submit button I think.
      Zoobie or not Zoobie...That is the problem.
      <body onUnload="flush( ! )">

      Comment


      • #4
        How about this:
        Code:
        <button><img src="image"></button>

        Comment


        • #5
          But the <button> tag isn't all to well supported...

          Another way would be to simply set the image as a background image the <input> tag, then adjust the padding of the box to make it look like the image is in fact in the box.

          Only thing about that is that when you depress the button, it won't shift with the text...
          offtone.com | offtonedesign.com

          Comment

          Working...
          X