"Pascal Schmidt-Volkmar" <> wrote:
> I am using the following code to create a button with an image on it.
Use a normal submit button instead. Form follows function.
> Unfortunately, the button is still visible.
Well, you just said the purpose was to create a button...
> I would like the button
> to vanish underneath the image, so the image will only be seen.
Forget the image idea - use images in document content to help convey
your message, not to obscure the user interface.
> <button name="FirstRecord" type="button"
The <button> element is poorly supported (the "implementation" on IE is
particularly miserable), and using type="button" means that you create
something that may (or may not) look a bit like a button but does not do
anything unless the user has forgot to disable scripting.
> onClick="self.location.href='http://desktop/myisapi/biolifesingle.dll/
> ShowRe cord?No=2&Aussage=false'">
Is that supposed to do something?
Replace it by a link (it looks like you might actually be trying to
create a complicated, expensive and fundamentally broken plastic
imitation of a link, but maybe this is just the impression caused by the
lack of a real URL) or by a submit button in a form with suitable other
fields (probably including some hidden fields).
> <p><img src="http://desktop/myisapi/first.jpg" width="87" height="37"
> border="0" alt="Erster Datensatz"><br>
There _is_ a way to set up an image submit button, but a) this isn't it,
and b) it's mostly pointless or worse anyway. Before saying with 100%
certainty that your current approach is a wrong solution, I would like to
see the problem (I mean the real problem, with a URL, not just snippets
of HTML or quasi-HTML markup).
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html