ajefferies
Programmer
This seems like a very simple question. I want to turn a link into a button. The link points to myUrl, where myUrl contains form parameters eg. The link:
works no problem. My first attempt at a button:
does not display in Netscape because it's not in a form. So I put it in an empty form:
Now I get a big gap (new paragraphs) around the button, which I don't want. So I put it in a table:
The gap's still there, so I move the form (to an illegal postion) :
The gap's gone from IE, but still there in Netscape. At this point I wonder if I'm barking up the wrong tree. I've also tried the <button>..</button> element, but Netscape doesn't like that...
Can anyone help?
Cheers,
Andy.
Code:
<br>
<a href="myUrl">Go!</a>
<br>
Code:
<input type="button" value="Go!" onclick="window.location.href='myUrl';">
Code:
<form>
<input type="button" value="Go!" onclick="window.location.href='myUrl';">
</form>
Code:
<table>
<tr>
<td><form><input type="button" value="Go!" onclick="window.location.href='myUrl';"></form></td>
</tr>
</table>
Code:
<table>
<form>
<tr>
<td><input type="button" value="Go!" onclick="window.location.href='myUrl';"></td>
</tr>
</form>
</table>
Can anyone help?
Cheers,
Andy.