Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Why does it only scroll to the first named anchor within a page?

  • 2 trả lời
  • 3 gặp vấn đề này
  • 12 lượt xem
  • Trả lời mới nhất được viết bởi jkwasnik

more options

Page links of the form URL#anchTag will ONLY scroll to the first named anchor (form <a name="anchTag"></a>). Links to any additional named anchors only scroll to the first.

Firefox 3.6.8 on WinXP SP3 and 3.6.10 on WinXP SP2 show this behavior.

Firefox 2.0.0.20 on Win2K SP4 DOES NOT show this behavior; anchor tags behave as they should.

Page links of the form URL#anchTag will ONLY scroll to the first named anchor (form <a name="anchTag"></a>). Links to any additional named anchors only scroll to the first. Firefox 3.6.8 on WinXP SP3 and 3.6.10 on WinXP SP2 show this behavior. Firefox 2.0.0.20 on Win2K SP4 DOES NOT show this behavior; anchor tags behave as they should.

Tất cả các câu trả lời (2)

more options

Do you mean that all those anchor tags have the same name?

more options

cor-el:

Of course not ... I just didn't want to list them.

all:

In any case, we found a solution. The named anchors were located under <tr> elements in a formatting table. Firefox prefers them in <td> elements. Making this change fixed the problem.