April 11, 200719 yr I'm sweating over a problem with anchor links on a website I'm creating. It works fine in all browsers on Mac but it seems like it doesn't work on IE 6, however on Windows IE 7 seems to work. I think IE has a problem linking between different div tags? Is there anyone who has an experience with this kind of problem? Thankful for any kind of response!
April 11, 200719 yr Hi OzzieCat, welcome to the forum. Would you mind posting an example of your code or perhaps a link to your website and where the problem is happening. I'll be pleased to take a look for you.
April 11, 200719 yr I think IE has a problem linking between different div tags? Hi there and welcome to the forum We had similar problem the other day actually... try moving your <a name> about, it did the trick for us. But as ben said, if you post your code, it'll be easier to help you out Oli
April 11, 200719 yr Author Oh, Thankyou!! This is the site http://improco.se/test/kurser.htm The link to the anchor on this page is at the bottom and says "Till början". In the source code you can se the anchor on line 101 and the link is on line 343 (I hope this is a good way to present the problem) I appreciate it a lot!! Hi OzzieCat, welcome to the forum. Would you mind posting an example of your code or perhaps a link to your website and where the problem is happening. I'll be pleased to take a look for you.
April 11, 200719 yr Author Hi Oli and thank you for your reply! I did try to move it about but it did not work for me, I tried to put an id as well (<a name=toppen id=toppen></a>) and tried both inside the div tag and out side without any great succes. try moving your <a name> about, it did the trick for us.
April 11, 200719 yr Hello again I have just had a play. If you move the <a name> out of the div it works (for me anyway). So at the moment you have <div id="top"> <img src="img/top.jpg" width="827" height="80"><a name="top"></a> </div> on line 101 Put this instead <div id="top"> <img src="img/top.jpg" width="827" height="80"></div><a name="top"></a> And it should work hope this helps Oli
April 11, 200719 yr and also, you should add alt tag to your back to top images, just in case someone don't see the images, they would still see a link! Just a thought Oli Pretty site you have there btw
April 12, 200719 yr Author Thanks oli, for the code and the tip . May I ask what expoler you're using I've been trying to do what you showed me but it will not work anyways. It seems like it is IE version 6 on windows. /OC
April 12, 200719 yr Author Nope I did try again just to be sertain and no sucess. Could the problem be that I have a linked css template? If you go to the site it won't work right... www.improco.se/test/kurser.htm I tested it on IE6/7 FF2 on windows + FF2 & Safari on MAC...Very strange 80
April 24, 200719 yr Author Woho!! I came up with a really simple and fundamental resolution to this problem. Instead of linking to an anchor i just made the site go to itself by putting <a href="#"><img></a> Maybe not the smartest way to go but it did the trick. Thanks for all your help anyways /OC
May 26, 200719 yr Woho!! I came up with a really simple and fundamental resolution to this problem. Instead of linking to an anchor i just made the site go to itself by putting <a href="#"><img></a> Maybe not the smartest way to go but it did the trick. Thanks for all your help anyways /OC Doesn't work on Opera though.
Create an account or sign in to comment