Hi
I've just created a pretty basic web site--using HTML which is a bit of a shame, but maybe XML next time--and I'm having an issue with the links not working in IE, though everything is beautiful in Firefox.
Is there some no-brainer way to activate those links in IE?
Cheers,
Jespester

Recommended Answers

All 9 Replies

Well considering you haven't shown us any of the code or a link to the page it's a bit like diagnosing a patient that hasn't told you any symptoms.

Well considering you haven't shown us any of the code or a link to the page it's a bit like diagnosing a patient that hasn't told you any symptoms.

Okay, gotcha.
I'll including two snippets of code, bold-facing the links: let me know if you need more context.

First, this is the navbar code (in which no links work at all in IE):
<table class="coll">
<tr>
<td bgcolor="#B399FF" align="center">
<h1>Home</h1></td></tr>
<tr>
<td align="center" bgcolor="#B399FF">
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="F:\Website\_private\form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<a title="The Agnes Macphail Digital Collection Project" href="About_the_Project.htm">
<input type="button" value="About the Project" name="B1" style="background-color: #F6F9F6; font-family:Bell MT; font-size:11pt"></a>
&nbsp;&nbsp;&nbsp;<a title="Agnes Macphail's Home Life" href="Agnes_at_Home.htm"><input type="button" value="Agnes at Home" name="B2" style="background-color: #F6F9F6; font-size:11pt; font-family:Bell MT"></a>&nbsp;&nbsp;&nbsp;<a title="Agnes Macphail's Political Career" href="Miss_Macphail_M.P..htm"><input type="button" value="Life in Politics" name="B3" style="background-color: #F6F9F6; font-size:11pt; font-family:Bell MT"></a>&nbsp;&nbsp;&nbsp;<a target="blank" title="Search the Digital Collection at OurOntario" href="http://images.ourontario.ca/Macphail/"><input type="button" value="Digital Collection" name="B4" style="background-color: #F6F9F6; font-family:Bell MT; font-size:11pt"></a>&nbsp;&nbsp;&nbsp;<a title="Tools for Education and Research" href="Learn_More.htm"><input type="button" value="Learn More" name="B5" style="background-color: #F6F9F6; font-family:Bell MT; font-size:11pt"></a></form></td>
</tr></table>

Second, here is the table and nested table in which the image and the external link both work:
<table class="coll" bgcolor="#C1DAFF" cellpadding="10">
<tr>
<td valign="top">
<table class="nested" align="right" width="40%">
<tr><td class="image">
<a target="_self" href="http://images.ourontario.ca/Macphail/details.asp?ID=23448&number=7">
<img class="main" src="Macphail_Agnes_PF22.jpg" width="287" height="455" title="Agnes Macphail c.1922"></a>
</td></tr>
<tr>
<td class="caption">

Agnes Macphail c.1922</td>
</tr></table>
<h4 align="center">Welcome to the Agnes Macphail Website</h4>
<p>Agnes Macphail was the first woman elected to Canadian Parliament.
During her lifetime, she was a dutiful daughter and sister, a willful teenager,
dedicated schoolteacher, and
champion for equal rights and fair treatment for everyone. This website
and the Digital Collection showcase not just her political life, but the
personal side of Agnes Macphail as she lived in Grey County and explored
the world at large.<br>

<b>How to use the website:</b>
<ul>
<li>Click on the buttons (above) to navigate to different areas and pages of the
website</li>
<li>Click on the images for more information about the
photographs and documents in the Digital Collection</li>
</ul>

<h4 align="center">The Agnes Macphail Digital Collection</h4>
<p>The Agnes Macphail Digital Collection is an online resource of photographs
and documents that have been collected from local museums, archives, and
individual collections. <br>
<b>How to access the Digital Collection:</b>
<ul><li>Click on the images in these web pages for more information </li>
<li>Follow the links on the web pages to images grouped by subject </li>
<li>Use the button above or click here to
<a title="Search the Digital Collection" href="http://images.ourontario.ca/Macphail/">
Search the Digital Collection</a>
</li></ul>

</tr>
</table>

Thanks,
Jespester

The only thing I could think of is that the href isn't the first thing but for some reason I think that's a longshot. It's worth a shot nonetheless. I'm not, however, familiar with that webbot stuff

Thanks Shawn,
unfortunately that didn't do the trick. I think it's something to do with IE supporting the "form" and its contents, but I'm not sure how to identify the problem.
J

heh, just noticed that. Don't have an anchor on a button, just use the onclick attribute of the button.

I'll see if i can get that organized. Thanks.

I see several errors:

- An input tag does not belong between a tags. Block tags can't be inside a tags.The clickable text or image belongs there.

- There is no title attribute for an a tag. The title belongs between the a tags.

- The alt attribute is required on an image tag. It should contain the text you erroneously have in the title attribute of the a tag.

- target is deprecated in the strict doctypes.

I appreciate your tips. With help from a programmer friend, I eliminated the nasty FrontPage <form> tags and used simple <button> tags with <onclick> attributes. It is working now. Thanks for the help.

Hi
I've just created a pretty basic web site--using HTML which is a bit of a shame, but maybe XML next time--and I'm having an issue with the links not working in IE, though everything is beautiful in Firefox.
Is there some no-brainer way to activate those links in IE?
Cheers,
Jespester

for the links to work code them like this in html:


<a href="Link url">Link title here</a>

There you go and if this isnt what you were looking for let me know.. I can redesign your entire site in flash for you at a reasonable price...

<advertising deleted>

Thanks.. and hope to see you there..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.