Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Sun May 19, 2013 9:45 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Anchors work fine in Firefox but not in Safari?
Author Message
 Post subject: Anchors work fine in Firefox but not in Safari?
PostPosted: Mon Jan 12, 2009 11:37 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi, your site is exactly what iWeb needed, there's some really great information on here.

I wanted to add anchors to my iweb page. I followed your instructions to the letter. The annoying thing is the anchors work fine in firefox but safari keeps messing up which anchor it jumps to.

Have you got any thoughts to get around this please?

Many thanks.
Matt

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Anchors work fine in Firefox but not in Safari?
Author Message
 Post subject: Re: Anchors work fine in Firefox but not in Safari?
PostPosted: Mon Jan 12, 2009 11:37 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi Matt,

Unfortunately Safari handles the Anchors a bit differently than Firefox and there's no real way to fix that. Safari always passes the anchor for about two-three lines. The solution is to put the Anchor two-three lines before the actual point (move the TextBox with the code upwards). It will display right when visited in Safari and it will not look bad in Firefox either since it will display the anchor point (usually paragraph title) only two-three lines downwards from the top of the window looks good anyway...

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Anchors work fine in Firefox but not in Safari?
Author Message
 Post subject: Re: Anchors work fine in Firefox but not in Safari?
PostPosted: Thu Sep 09, 2010 9:48 pm 
Offline

Joined: Wed Sep 01, 2010 2:36 am
Posts: 3
To everyone who's struggled to get anchor links to work in Safari...

I was able to get anchors to work great in Safari by modifying the anchor target link.

Instead of simply having <a name="ANCHOR1"></a>

I modified it to:
<h2><a name="ANCHOR1"></a></h2>

And it works great in both Firefox and Safari.

Hope this helps you.
Toast


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield