mercredi 29 avril 2015

Linking from a subfolder back to the root folder index.html file

I am having trouble linking from a subfolder index file back to my root folder index file.

I have a logo in the nav bar of that I would like to have link back to

I have tested various linking options for the logo image including

<a href="../index.html">
<a href="">
<a href="../">

And none of them seem to work. The logo image continues to link to

The strange thing is that if I right click on the image and then select open in a new window/tab, then it will load just fine.

I am at a complete loss.

Could this be something related to my .htaccess file?

Additional Info

I added a "Home" text link to the nav bar using the below syntax and it works perfectly.

<a href="">Home</a>

The image for some reason will not link back to the rootfolder index.html file using the same syntax. It keeps loading

Aucun commentaire:

Enregistrer un commentaire