View Full Version : Stupid Anchors~!!!!


Ambi
01-11-2003, 04:33 AM
Hey all....
I can't seem to get my anchors to work...I'll set up the anchor on one page, but when I click the anchor on the page, it goes back to the HOME page. Help it's defective!!!!
Thanks,
Ambi

Goddess
01-11-2003, 05:15 AM
Example of page anchors:

<a href="#bio">My Biography</A>

<a name="bio"></a>I was born on whatever...

If that does not work, please post the code you are using :)

Ambi
01-11-2003, 05:16 PM
That's my point--that IS what I'm using. And for some reason, it's taking me back to the home page. Here's the exact code I have...am I doing something wrong?


<a href="#anchor11" color=> Masks of You </a>


<a name="#anchor11"></a> <font size="3"> Testing </font>

f a i r y tale
01-11-2003, 05:33 PM
<a href="#anchor11" color=> Masks of You </a>

Here's one problem. You need to finish the color= part. So either remove it or add a color. Examples...

<a href="#anchor11" color="#000000"> Masks of You </a>
<a href="#anchor11"> Masks of You </a>

<a name="#anchor11"></a> <font size="3"> Testing </font>

You shouldn't have a # on this code. It should be like this...

<a name="anchor11"></a> <font size="3"> Testing </font>

Ambi
01-11-2003, 05:42 PM
K, so I got rid of my little typo (the color= tag) and the # in front of the second anchor. So here's what I've got now:

<a href="#masks"> Masks of You </a>

<a name="masks"></a> <font size="3"> Testing </font>




but it STILL doesn't work. It still takes me back to the main page!!


***convinced this is defective****

f a i r y tale
01-11-2003, 05:46 PM
Could you give us a link to the page? :)

NetGirl
01-12-2003, 12:52 AM
You had it as:

<a href="#masks"> Masks of You </a>

<a name="masks"></a> <font size="3"> Testing </font>

It should be like:

<a href="#masks"> Masks of You </a>

<a name="masks"><font size="3"> Testing </font></a>


The <font size="3"> Testing </font> needs to be inside the <a> tag.

Ambi
01-13-2003, 09:59 PM
K...we're making progress. But it still takes me back to the main page! Any other Ideas?

(heres a link to my page for you who requested it)

http://www.angelfire.com/falcon/ambi/DMpoetry.html

Ambi
01-13-2003, 10:09 PM
CORRECTION-- that DOES work, I just followed my link and the anchor worked....but for some reason not when I'm on the webshell. Hm....Oh well as long as I know that it works.

Please do not advertise on the forum

f a i r y tale
01-14-2003, 03:58 AM
It works for me. :)