Solved

<A name="..."...> in Netscape

Posted on 2002-04-27
6
154 Views
Last Modified: 2010-04-09
Hi All,
 I have a giant form in my HTML, which is generated dynamically by a JSP. The page is divided into many blocks (tables), and links at the top of the page for each of these blocks.
 I am using <a name="1"> etc. for the links. They are working fine in IE, but in @#$#$ Netscape, nothing happens when the link is clicked on. I have tried with quotes, without quotes, with # in name without # in name.. nothing works! any pointers?
TIA,
Ananth
0
Comment
Question by:ananth222
6 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6973004
are the <a name ..> tags inside the table, then it will not work (on some browsers) 'cause it's not w3c standard :-(
0
 
LVL 12

Expert Comment

by:ahosang
ID: 6973135
name should not begin with a numeral.
Try <a name="a1">
0
 
LVL 18

Expert Comment

by:bruno
ID: 6973400
how are you linking to it?

should be


<a href="#1">topic 1</a>


not sure about the number thing?  haven't heard that before, but i've never used numbers in the name tag i don't think.....



BRUNO
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:CJ_S
ID: 6973507
ahosang is right. No object, tag or variable should ever start with a number. It's one of the rules in programming ;-)

CJ
0
 

Author Comment

by:ananth222
ID: 6974767
I had given the <a name...> tag inside a <tr> but outside <td>! I put it inside the <td> and it now works fine!!
danke hoffmann!
Nice points from the others too, but I guess numbers do work here...
aufweidersehen!
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6975289
according to w3c, name= and id= must start with a letter, so CJ_S is right too.
Auch danke ;-)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now