link button will work on every browser except ie.

Associate
Joined
31 Dec 2008
Posts
1,400
hi

this my not be the best html but this code works on every browser, except ie, all code works on ie except the contact us link, evn though it appears to be ethe same code as the other links. i dont get a page load error to suggest the link has been typed wrongly but the button just simply doesnt work when i click it on ie.

any ideas?

thanks.

<html>

<head>
<title> links </title>
</head>

<body bgcolor="#9999ff">
<table width="150" height="480" border = "0" hspace="0" vspace="0" vspace-"0"
cellspacing="0" align="left">
<tr>
<td bgcolor=""#9999ff" valign="top"> <br>
</td>
</tr>
<tr>
<td>
<FORM METHOD="LINK" title="Our Home Page." ACTION="home.html" target="main">
<INPUT TYPE="submit" VALUE="Home"> </form>
</td>
</tr>
<tr>
<td>
<FORM METHOD="LINK" title="Cats currently in our care." ACTION="ourcats.html" target="main" >
<INPUT TYPE="submit" VALUE="Our cats"> </form>
</td>
</tr>
<tr>
<td>
<FORM METHOD="LINK" title="Sponsor a cat today." ACTION="sponsorship.html" target="main">
<INPUT TYPE="submit" VALUE="Sponsorship"> </form>
</td>
</tr>
<tr>
<td>
<FORM METHOD="LINK" title="Read the latest news." ACTION="news.html" target="main">
<INPUT TYPE="submit" VALUE="News"> </form>
</td>
</tr>
<tr>
<td>
<FORM METHOD="LINK" title="Back to front page." ACTION="main.htm" target="main">
<INPUT TYPE="submit" VALUE="Front page"> </form>
</td>
</tr>
<tr>
<td>
<FORM METHOD="LINK" title="Click here for contact information." ACTION="contactus.html" target="main">
<INPUT TYPE="submit" VALUE="Contact us"> </form>
</td>
</tr>

<tr>
<td>
<FORM>
<INPUT TYPE="BUTTON" VALUE="links" title="link to google" onclick="window.open('http://www.google.com')"> </form>
</td>
</tr>


</table>
</body>
</html>
 
Last edited:
Really not the best HTML there, how did you generate it?

To create a link it is such simpler than that:

<a href="contactus.html">Contact Us</a>

That'll work for you, you should change all your links to work like that.
 
thanks, yeah the links are in the form of push buttons rather than straight links. for some reason the code works now... i got rid of one of the /form commands and it started working, i thought wtf and put the /form command back in as without it the links weren't spaced out properly and... it still worked. i just typed the code in notepad.
 
Back
Top Bottom