Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
My anchor tags don't seem to work in Firefox/Safari. anchor tag compability buttercup 74 msg:3716882 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]
jdMorgan msg:3716896 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 msg:3716914 7:13 pm on Aug 6, 2008 (gmt 0)
Bingo! I was doing just that... tut tut. I'm sure that will fix it, will upload it tomorrow and test.
buttercup 74 msg:3717708 4:27 pm on Aug 7, 2008 (gmt 0)
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?
bilalseo msg:3719231 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.