homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

My anchor tags don't seem to work in Firefox/Safari.
anchor tag compability
buttercup 74

 6:52 pm on Aug 6, 2008 (gmt 0)

I've created an FAQ type page - with anchor tags to zoom down to the relevant section from questions at the top.

It works fine in IE.
It's not working on my friend's Mac in both firefox and safari.

Any idea why it won't work in the other browsers?
Must be something simple....


[edited by: encyclo at 7:26 pm (utc) on Aug. 6, 2008]
[edit reason] no links to personal sites please [/edit]



 7:01 pm on Aug 6, 2008 (gmt 0)

Be sure you're using <a name="anchor"> and not <a name="#anchor">. The "#" is part of the link to an anchor, telling the browser "the target for this link is on this same page," and is not part of the anchor's name itself.


buttercup 74

 7:13 pm on Aug 6, 2008 (gmt 0)

I was doing just that... tut tut.
I'm sure that will fix it, will upload it tomorrow and test.


buttercup 74

 4:27 pm on Aug 7, 2008 (gmt 0)

oh dear.

Sadly, that's not fixed it.

I'm guessing that the other browsers don't like any other code between the <a> tags?
I have <span> font type tags in there.

could that be it?


 3:08 pm on Aug 9, 2008 (gmt 0)

remove the span tag, most of the browsers not detecting span setting... or you can also check your CSS, you can also draw a link or ahref by using CSS... CSS is nowadays is a best tool while site compatibility, and this includes fonts, anchors, headings, etc.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved