Reply to Making html button behave like hyperlink

Your name:

Reply:


Posted by WJ on 01/19/06 05:36

http://www.silverlion.com/staff/wjohnson/test/page1.html

I am trying to make a button behave exactly like an href.
Here is a sample of code from the link above.

If I run this in firefox, it takes me to the next page find.
IE fails. I'd like to do this without any script at all.

Users just want buttons instead of hyperlinks.

<html>
<head>
<title>Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table cellpadding="0" cellspacing="0" border="0" width="800">
<tr>
<td align="center" height="100">
<h1>Page 1</h1>
</td>
</tr>
<tr>
<td align="center" height="500">
<a href="page2.html">
<input type="button" name="test" value="Test">
</a>
</td>
</tr> </table>

</body>
</html>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация