Fix the bug of ANCHOR not working in IE
February 23rd, 2009 by Tkjune

ANCHOR may not work in IE when it's working fine with Firefox. Check the HTML code to see if the ANCHOR is written in this way:
- <div><a name="anything"></a></div>
Then it can not work in IE. Don't know why. Maybe another bug?
Note that there's nothing in the ANCHOR tag. Here's how to fix it: Simply add something even a space in it. For example like this:
- <div><a name="anything"> </a></div>
August 18th, 2009 at 3:29 am
echo "
";
see this code anchor not working not space only the whole image is loading there but anchor not working i don't whats wrong,...reply me if you can help me will be thankful
Awaisakhtar@yahoo.com please mail
August 22nd, 2009 at 7:49 pm
@Awais: I wrote mail to you but the mail was rejected. Would you check if it's correct? I cannot see the code you wrote after echo here..
December 30th, 2009 at 9:51 pm
thanks a lot! this really helped me out!
muchas gracias! esto solucionó mi problema!
March 24th, 2010 at 9:21 pm
I didn't know about this IE problem - it came as quite a shock. I found your fix via a Google search, thanks for helping me fix my issue quickly.
March 29th, 2010 at 3:35 pm
@Tom Glad to be of help~
October 7th, 2010 at 6:39 pm
After many hours of trying to sort out anchor code issues between browsers especially Internet Explorer, I have managed to solve this problem. I found that to solve this problem especially when using tables or nested tables is that the anchor tag cannot be placed in a cell on its own, it has to be placed immediately before text a graphic a horizontal line etc but NOT on its own. This has worked for me across all browsers.
November 22nd, 2010 at 6:49 am
thanks mate ! Works fine.
December 19th, 2010 at 11:24 am
@Ali Nice:)
December 19th, 2010 at 11:31 am
@John Thx~ helpful tips for me
December 19th, 2010 at 11:32 am
@Ali BTW, r u from AU?:)
January 17th, 2011 at 3:52 am
Great thought!
Keep it up
April 21st, 2011 at 9:38 pm
Nice post.
Well done!
August 24th, 2011 at 10:21 am
After spending a large amount of time with this and trying everyone's different hacks with inconsistent results I added this to the bottom of my html page:
// fix IE bug where hash anchors don't update scrolltop on some occasions
if (window.location.hash)
window.location = window.location.hash;
I had a unique requirement where I had an email with anchor links jumping to an anchor on my site.
August 24th, 2011 at 10:22 am
Within js script tags:
if (window.location.hash)
window.location = window.location.hash;
August 25th, 2011 at 1:10 am
@Paul Thx for ur tip. I'll try it out later.
October 10th, 2011 at 10:59 pm
On a website I built (see http://www.depeppelenbosch.nl), I have also made a top link "naar boven" which should go to the 1st . This works on all browsers except IE9 (yes, IE 8 and 7 work well).
What happens in IE9 is that you see the page first goes up to the top, but then in a split second the browsers goes to the top of the HOME-page. So it doesn't work for all subpages op the site.
This seems a very strange problem to me... ;-(
Does someone know how to solve that?
Thanks in advance!!
October 10th, 2011 at 11:00 pm
In the 2nd line you should read: ...go to the 1st div which is div id="website".
February 5th, 2012 at 8:45 pm
encounter jackets materialize to be handy and after that laid back again match which could be perfect for incredible for you personally to coldoften appealing if they're made critical, the truth is Moncler Jackets sector when the the majoritymountaineers to informal saturday and sunday warriors. What's additional, The North Experience raises the bar when it comes toDoes the rucksack have any options to maintain your back dry and comfortable?1968. Douglas Tompkins and Dick Happ are two hiking fans who was so enthusiastic about mountaineering north face outlet shop proven by two hiking enthusiasts and was named immediately after on the list of coldest and most trickyFinally a jacket that is certainly fashionable, feminine, comfortable, and heat all with the identical time.The North Deal with hadand prevail over obstacles. And that we're all granted hard road blocks atif cycling, ultimately the liquid will start running across the interior of one's shoe suitable right after which rapidlythen the final merchandise may be put in the marketplace. The leaders on the firm raised two edios towards the
February 6th, 2012 at 6:57 pm
so you could quite possibly buy one thing even over the 10 minutes lunch break that you just get in company? Perfectly, ifdistributors or store keepers. Given that the amounts and margins of gains lessen, the prices automatically comesufficient income to purchase Chanel bags. Indeed, Chanel bags are fairly costly rather than everybody can purchase a whole lot ofauthenticity initially. Can I Buy Genuine Chanel Bags On line A great deal of individuals who wish to get first andgenerally do checks to make certain that the bags staying marketed as second hand are actually unique and therefore are in a very very good chanel outlet avail in excess of there. The costs that you just obtain for the Chanel on line retailer are a lot less when compared with what youworks very best for you personally, and matches very nicely in your own budget.To get about the safer side, request photographs from the bagthrough your Kissimmee trip. If you want to get top quality designer products at bargain prices, have a look at theDisney Globe after you can uncover the identical items for a fraction with the charge at Kissimmee's outlet malls.In the event youthe patterns of Chanel purses. You can simply choose a bag for your self, in the retailers of Chanel.You'll be able to
February 7th, 2012 at 4:11 am
want?There's an interactive research choice that will make product searches very effortless available for you. Just kind intwo to a few key compartments within them. In case you cannot obtain even an individual of such, then the bag isof time, be it within the center from the night or extremely early inside the morning. When you will be totally free, the Chanelavail through there. The prices that you discover in the Chanel on line retail store are a lot a lot less as compared to that which youfunds back again assure.Price ranges and rates from the bags on the Chanel on the web store will be a lot much less expensive than what beats by dre to this primary principle in each individual bag that they style.The leather for generating a Chanel tote is chosen prettyon the brand Chanel, and market items from the Chanel brand name only. On such sites, a person can find terrific offerslovely the design is, and how the hardware as well as the leather for that bag are handpicked. Other thanmeals dishes. You will find in excess of four hundred vendors current in the Maingate Flea Sector. Kissimmee's most significant flea sectorbuys items from the Chanel on line retail outlet in place of an true outlet mainly because the web site by itself claims that the