X
Tap here to go to the mobile version of the site.

Support Forum

My in-page html links don't work in Firefox.

Posted

I've made som links within the same page in HTML, and they don't function in Firefox, though they work just fine in IE. I've already tried everything on this page: https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=links+don%27t+work+in+firefox&r=19&as=s

This has been a problem for years now. Why don't in-page anchor links work? I'm just using html with Wordpad to create my pages, not any CSS.

I've made som links within the same page in HTML, and they don't function in Firefox, though they work just fine in IE. I've already tried everything on this page: https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=links+don%27t+work+in+firefox&r=19&as=s This has been a problem for years now. Why don't in-page anchor links work? I'm just using html with Wordpad to create my pages, not any CSS.

Chosen solution

House Rules at the top of the page.

<a href="#PCgen">Character generation</a>
<a name="#PCgen"><center> 
	<img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80>
</a></center>

This would be the correct manner. Dump the # and close that a name tag immediately.

 <a name="PCgen"></a> <center> 
	<img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80>
</center> 
Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.8 r800
  • Google Update
  • Adobe Shockwave for Director Netscape plug-in, version 12.0.3.133
  • Next Generation Java Plug-in 10.25.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • 5.1.20513.0
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.7
  • Unity Player 4.1.2f1
  • Plugin for Wacom tablets.
  • Yahoo Application State Plugin version 1.0.0.7
  • NPWLPG
  • Wacom Dynamic Link Library

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

More Information

Application Basics
Name
Firefox
Version
23.0.1
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
DownloadHelper
4.9.21
true
{b9db16a4-6edc-47ec-a1f4-b86292ed211d}
Flash and Video Download
1.38
true
{bee6eb20-01e0-ebd1-da83-080329fb9a3a}
Adobe Acrobat - Create PDF
1.0
false
web2pdfextension@web2pdf.adobedotcom
Anti-Banner
13.0.1.4307
false
anti_banner@kaspersky.com
Content Blocker
13.0.1.4307
false
content_blocker@kaspersky.com
Kaspersky URL Advisor
13.0.1.4307
false
url_advisor@kaspersky.com
Safe Money
13.0.1.4307
false
online_banking@kaspersky.com
Virtual Keyboard
13.0.1.4307
false
virtual_keyboard@kaspersky.com
Important Modified Preferences
Name
Value
accessibility.blockautorefresh
true
accessibility.typeaheadfind
true
accessibility.typeaheadfind.flashBar
0
browser.cache.disk.capacity
358400
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size.use_old_max
false
browser.cache.disk.smart_size_cached_value
358400
browser.display.background_color
#C0C0C0
browser.display.use_system_colors
true
browser.places.smartBookmarksVersion
4
browser.privatebrowsing.dont_prompt_on_enter
true
browser.startup.homepage
https://login.live.com/login.srf?id=2
browser.startup.homepage_override.buildID
20130814063812
browser.startup.homepage_override.mstone
23.0.1
dom.mozApps.used
true
dom.w3c_touch_events.expose
false
extensions.lastAppVersion
23.0.1
font.internaluseonly.changed
true
gfx.direct3d.last_used_feature_level_idx
0
gfx.direct3d.prefer_10_1
true
network.cookie.prefsMigrated
true
network.http.proxy.version
1.0
places.database.lastMaintenance
1378723967
places.history.expiration.transient_current_max_pages
104858
plugin.disable_full_page_plugin_for_types
application/pdf
plugin.importedState
true
privacy.donottrackheader.enabled
true
privacy.sanitize.migrateFx3Prefs
true
security.warn_viewing_mixed
false
storage.vacuum.last.index
1
storage.vacuum.last.places.sqlite
1378332165
Graphics
Adapter Description
Intel(R) HD Graphics Family
Adapter Description (GPU #2)
NVIDIA GeForce GT 540M
Adapter Drivers
igdumd64 igd10umd64 igd10umd64 igdumdx32 igd10umd32 igd10umd32
Adapter Drivers (GPU #2)
nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Adapter RAM
Unknown
Adapter RAM (GPU #2)
2047
Device ID
0x0116
Device ID (GPU #2)
0x0df4
Direct2D Enabled
true
DirectWrite Enabled
true (6.2.9200.16571)
Driver Date
1-27-2011
Driver Date (GPU #2)
10-2-2012
Driver Version
8.15.10.2291
Driver Version (GPU #2)
9.18.13.697
GPU #2 Active
false
GPU Accelerated Windows
1/1 Direct3D 10
Vendor ID
0x8086
Vendor ID (GPU #2)
0x10de
WebGL Renderer
Google Inc. -- ANGLE (Intel(R) HD Graphics Family)
AzureCanvasBackend
direct2d
AzureContentBackend
direct2d
AzureFallbackCanvasBackend
cairo
JavaScript
Incremental GC
true
Accessibility
Activated
false
Prevent Accessibility
0
Library Versions
Expected minimum version
Version in use
NSPR
4.10
4.10
NSS
3.15 Basic ECC
3.15 Basic ECC
NSSSMIME
3.15 Basic ECC
3.15 Basic ECC
NSSSSL
3.15 Basic ECC
3.15 Basic ECC
NSSUTIL
3.15
3.15

the-edmeister
  • Top 10 Contributor
  • Moderator
3982 solutions 29955 answers

Do those hyperlinks conform to W3C standards?
http://www.w3.org/TR/html401/struct/links.html

Do you have an example webpage that we can view? One that doesn't require login credentials.

Do those hyperlinks conform to W3C standards? <br /> http://www.w3.org/TR/html401/struct/links.html Do you have an example webpage that we can view? One that doesn't require login credentials.
cor-el
  • Top 10 Contributor
  • Moderator
12520 solutions 115436 answers

It is possible that another element is covering the link.

What gets selected if you right-click a link and ope the built-in inspector (Inspect Element)?


Make sure that you do not include the # in the name or id where you define the anchor.

<a href="#anchor"> jump to anchor </a>

<div id="anchor">
<a name="anchor"></a>
It is possible that another element is covering the link. What gets selected if you right-click a link and ope the built-in inspector (Inspect Element)? ---- Make sure that you do not include the # in the name or id where you define the anchor. <pre><nowiki><a href="#anchor"> jump to anchor </a> <div id="anchor"> <a name="anchor"></a> </nowiki></pre>

Question owner

As far as I can tell, it conforms to the W3 standards... here's a link: http://2ndcycle.com/KFR0, look under House Rules.

When I use Inspect Element, it selects the first link. I haven't used < div id="anchor" >, is that what's wrong?

As far as I can tell, it conforms to the W3 standards... here's a link: http://2ndcycle.com/KFR0, look under House Rules. When I use Inspect Element, it selects the first link. I haven't used < div id="anchor" >, is that what's wrong?

Modified by Kristina_A

cor-el
  • Top 10 Contributor
  • Moderator
12520 solutions 115436 answers

Are you referring to the archive links in the column at the right?

What do you expect to happen if you click those links?

I see one anchor in the page source and that name includes a "#": <a name="#intro">
To make a link to that anchor work you need to change the name to <a name="intro">

Are you referring to the archive links in the column at the right? What do you expect to happen if you click those links? I see one anchor in the page source and that name includes a "#": &lt;a name="#intro"&gt;<br /> To make a link to that anchor work you need to change the name to &lt;a name="intro"&gt;
the-edmeister
  • Top 10 Contributor
  • Moderator
3982 solutions 29955 answers

Chosen Solution

House Rules at the top of the page.

<a href="#PCgen">Character generation</a>
<a name="#PCgen"><center> 
	<img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80>
</a></center>

This would be the correct manner. Dump the # and close that a name tag immediately.

 <a name="PCgen"></a> <center> 
	<img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80>
</center> 
House Rules at the top of the page. <pre><nowiki><a href="#PCgen">Character generation</a></nowiki></pre> <pre><nowiki><a name="#PCgen"><center> <img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80> </a></center></nowiki></pre> This would be the correct manner. Dump the # and close that '''a name''' tag immediately. <pre><nowiki> <a name="PCgen"></a> <center> <img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80> </center> </nowiki></pre>

Question owner

Thank you, the-edmeister and cor-el! That appears to have solved it. Now I feel a little silly for not realizing that was the problem. :P

Cheers!

Thank you, the-edmeister and cor-el! That appears to have solved it. Now I feel a little silly for not realizing that was the problem. :P Cheers!