I have a form. if i use a button for submitting <input name=”submit” type=”button” /> there are no problems and the alignment is fine.
if i use <input type=”image” src=”images/go.gif” value=”Submit” /> with the image being the same height as the containing divs the button looks like it is in the right place but the input box drops down several pixels and makes the height of the containing divs higher.
can anyone recommend a fix? i have tried adding a class to the image but it doesn’t work;
<input type=”image” src=”images/go.gif” value=”Submit” />
.go {
background-position: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
position: inherit;
}
any help would be great or i will have to go with a css button rather than the image i want to use.
cheers