www.webdeveloper.com
Results 1 to 2 of 2

Thread: Problem with images as buttons

  1. #1
    Join Date
    Jan 2011
    Posts
    3

    Problem with images as buttons

    I want to use an image as a button, but when I use this:
    HTML Code:
    <input type="image" etc...>
    it also outputs the x,y coordinates in the url of where the user clicked on the image. (Eg http://localhost/lcp/carpetlist.php?city=houston,+tx&x=0&y=0). I don't want this.

    So I tried the
    HTML Code:
    <button>
    element, but I get this:
    http://i.imgur.com/U6ipX.jpg

    I want this, without the trailing x,y coords
    http://i.imgur.com/89a8Y.jpg

    Is there some way around this?

  2. #2
    Join Date
    Jan 2011
    Posts
    3
    Never mind, found the answer here:
    http://www.phpbuilder.com/board/show...php?t=10362725

    thanks anyway haha

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles