The HTML code is as follows: <HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head runat = "server">
<Title> </title>
</Head>
<Body>
<Form ID = "form1" method = "get">
<Div>
<Input type = "image" src = "but_seab.gif" value = "test Coordinate System"/>
</Div>
</Form>
</Body>
</Html>
When you click the submitted image button, two parameters X are displayed. Y is the coordinate value of the image when you click the image. The solution is to discard the image control, use submit or button to add a background image.
This is what I explained on w3.org.
When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server. the X value is measured in pixels from the left of the image, and the Y value in pixels from the top of the image. the submitted data provided des
Name. X =
X-ValueAnd
Name. Y =
Y-ValueWhere
"Name"Is the value of NameAttribute, and
X-ValueAnd
Y-ValueAre the X and Y coordinate values, respectively.
Address:
Http://www.w3.org/TR/html4/interact/forms.html#h-17.4