tags:

views:

30

answers:

1

Hello. I am supposed to add submit action to an image.So on the main page,i have done <input type="submit" class="go-button" name="submit"/> in and in css i have written

.go-button {
 margin-right:7px;
 background: transparent url(../images/go.gif);
 width:26px;
 height:20px; 
 border:0px;
 overflow:hidden;
}

But the problem is I am getting Submit query on the GO image. I dont want that. Plz help me.

+1  A: 

A submit button can also be defined as an image:

<input type="image" src="image.png" alt="Alt text" />
deceze
thanx problem solved
Priyanka
@Priyanka Then please accept the answer (tick mark on the left).
deceze