Norman Posted November 27, 2007 Share Posted November 27, 2007 I want to make an imput with a link. For example: [Go back to the Home]. With Firefox I can do that with this code: <a href="home.html"><form><input type="button" style="font-size: 9px; font-weight: bold" align="middle" value="Go back to the Home" /></form></a> Even if it does not work very well. With IE it doesn't work!Is there another valid method you know? Link to comment Share on other sites More sharing options...
Ingolme Posted November 27, 2007 Share Posted November 27, 2007 <input type="button" style="font-size: 9px; font-weight: bold" value="Go back to the Home" onclick="location.href = 'home.html'" /> Link to comment Share on other sites More sharing options...
Norman Posted November 27, 2007 Author Share Posted November 27, 2007 Thank you! Link to comment Share on other sites More sharing options...
Ingolme Posted November 27, 2007 Share Posted November 27, 2007 This uses Javascript. I recommend putting a <noscript> tag in case Javascript is deactivated: <input type="button" style="font-size: 9px; font-weight: bold" value="Go back to the Home" onclick="location.href = 'home.html'" /><noscript><a href="home.html">Go back to the Home</a></noscript> Link to comment Share on other sites More sharing options...
Norman Posted November 28, 2007 Author Share Posted November 28, 2007 Oh, yup! I should add it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.