Jump to content

Linking


Agustine

Recommended Posts

This seems like a very stupid question but I am having much trouble this.

<p class="ex12"><div align="center"><img src="Images/switch.gif" border="0" alt="Fresh look colours"></div></p><p class="ex13"><a href="ccon.html">Click Here For More Colour Contacts</a></p>

When I click on the link, "Click Here For More Details", nothing happens, nothing at all, and I don't understand why. Please help me with this.Thanks

Link to comment
Share on other sites

I thought maybe those line breaks would cause a problem but I tested your page and it works. So I don't know why yours wouldn't work. Other than that the only reason I can think of is the same as real_illusions.

Link to comment
Share on other sites

I just copied your code in a blank html page and it works. So I don't understand why yours wouldn't...Could you post your complete code from one <html> tag to another?

Link to comment
Share on other sites

<p class="ex12"><div align="center"><img src="Images/switch.gif" border="0" alt="Fresh look colours"></div></p><p class="ex13"><a href="ccon.html">Click Here For More Colour Contacts</a></p>

What`s your CSS-codes? Those class="ex12" class="ex13" must be the reason...
Link to comment
Share on other sites

What`s your CSS-codes? Those class="ex12" class="ex13" must be the reason...

It worked ok for me :) I'm certain it doesn't have anything to do with the classes, class="ex12" & class="ex13" must be located in the <head> section, which you never posted, therefor when we copy and try your code they are disregarded because they dont exist.
Link to comment
Share on other sites

It depends on the browser, but there are some settings that can affect behavior. For example, Amaya just won't even show you a page if the file doesn't exist. IE has a setting called "Show Friendly HTTP Error Messages" that will make a difference when following links to files that don't exist. So... does the file you are linking to actually exist? Can you type its address in your address bar and it comes up?Also, it would be helpful if you showed ALL of the code used for the page. It seems none of us have been able to reproduce your problem. It is either because the problem is not with the code, but some setting on your system, or it is with a part of the code we haven't seen yet...

Link to comment
Share on other sites

Insted of <a href="ccon.html">try <a href="ccon.htm">sometimes i put .html when it is actually saved as a .htmbut yeh your files are in the correct place so this is all i can think off :)

Link to comment
Share on other sites

Ok... I;m becoming extremely annoyed over this. I have narrowed it down to be the page that links to the "ccon.html". When I put the link on another page, or a in the contact page change the where it links to it works. Here is the whole code of the contact page. I have read this for about two hours checking to see if there are any mistakes and have yet to find any. If you can find anything I didn't find please tell me because I need to get this done for mondey and i'm very close to being done. Thanks for all the help so far.

<!-- saved from url=(0022)http://internet.e-mail --><!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Contact Lenses</title><meta /><meta /><style>form.ex1{position:relative;top:200px;left:200px;}img.ex2{position:relative;top:0px;left:250px;}img.ex3{position:relative;top:150px;left:325px;}img.ex4{position:relative;top:150px;left:-5px;}p.ex6{position:relative;top:25px;left:180px;}p.ex7{position:relative;top:-550px;left:-7px;}img.ex8{position:relative;top:200px;left:275px;}img.ex10{position:relative;top:120px;left:190px;}p.ex11{position:relative;top:-50px;left:370px;}p.ex13{position:relative;top:100px;left:100px;z-index:1;}</style><script language="javascript">function go(){window.location=document.getElementById("menu").value}</script></head><body background="Images/back.png"><form class="ex1"><select id="menu" onchange="go()"><option>--Select a brand--</option><optionvalue="o2.html">O2 Optix</option><optionvalue="ad.html">Acuvue Advance</option><optionvalue="nd.html">Night & Day</option><option value="ao.html">Acuvue Oasys</option><optionvalue="pc.html">Proclear Multifocal</option><option value="sl.html">Softlens Multifocal</option></select></form><img src="Images/co.png" border="0" class="ex2" alt="Contacts" /><img src="Images/o2.jpg" border="0" class="ex3" alt="O2 Optix" /><img src="Images/nd.jpg" border="0" class="ex4" alt="Night & Day" /><p class="ex6"><font family="Arial">Select a brand from the dropdown<br />list to view a detaileddescription of it.<br /></font></p><img src="Images/colC.jpg" border="0" alt="Wildeyes by Ciba Vision" class="ex10"><p class="ex11"><u><b>Who Can Wear Wild Eyes ?</b></u><br />Any one can, even with perfect vision! Wild eyes are <br />all about expression. They can be worn to correct your<br /> vision, or just for fun!<br /><u><b>What is it like looking through them ?</b></u><br />Perfect! The lens center is clear, so your view is not <br />blocked. They are just as comfortable as any other <br />lens!<br /><u><b>How long do they last ?</b></u><br />You can wear them on a daily basis. They last long <br />enough that they can become part of your wardrobe.<br /> They could last 365 days!<br /></p><p class="ex12"><div align="center"><img src="Images/switch.gif" border="0" alt="Fresh look colours"></div></p><a href="ccon.html">Click Here For More Colour Contacts</a><p class="ex7">  <a href="home.html"><img ID=home2 src="Images/home..png" onmouseover='document.getElementById("home2").src="Images/home.2.png"'onmouseout='document.getElementById("home2").src="Images/home..png"' border="0" alt="Home"></a><br />  <a href="about.html"><img ID=about2 src="Images/about.png" onmouseover='document.getElementById("about2").src="Images/about2.png"'onmouseout='document.getElementById("about2").src="Images/about.png"' border="0" alt="About Us"></a><br />  <a href="eye.html"><img ID=eyew2 src="Images/eyew.png" onmouseover='document.getElementById("eyew2").src="Images/eyew2.png"'onmouseout='document.getElementById("eyew2").src="Images/eyew.png"' border="0" alt="Eye Wear"></a><br />  <a href="contact.html"><img ID=contact2 src="Images/contact.png" onmouseover='document.getElementById("contact2").src="Images/contact2.png"'onmouseout='document.getElementById("contact2").src="Images/contact.png"' border="0" alt="Contact Lenses"></a><br />   <a href="us.html"><img ID=us2 src="Images/us.png" onmouseover='document.getElementById("us2").src="Images/us2.png"'onmouseout='document.getElementById("us2").src="Images/us.png" 'border="0" alt="Contact Us"></a><br /></p><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div align="center"><img src="Images/peeper_footer.gif"></div><div align="center"><font size="2"><a href="home.html">Home</a>|<a href="link.html">Links</a>|<a href="about.html">About</a>|<a href="simp.html">Site Map</a></font></div></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...