homepage Welcome to WebmasterWorld Guest from 54.227.62.141
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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




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....

Thanks

[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.

Jim

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.

THANK YOU!

buttercup 74




msg:3717708
 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?

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.

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved