Anchors OK on phone, not on PC
-
Internal anchor links (from one place in a post to another place in the same post) work OK on my (Android 8) phone, but not on my (Windows 10) laptop.
Eg, in my post Brexit and the east European elephant, I’ve got a contents list with internal anchor links.
The first Contents item is “Introduction”. The HTML is:
IntroductionAbove the Introduction section, the HTML is:
My HTML knowledge is somewhat cut-and-paste. After some googling on this problem, I tried replacing the anchor code with:
and then <p id=”intro”></p>Neither of these made any difference. The link didn’t workon my laptop.
I’ve checked this is several different browsers on my laptop, with the same result.)
The blog I need help with is: (visible only to logged in users)
-
That question didn’t come out quite like I intended! The HTML for my link didn’t display. I’ll try it in quotes:
“Introduction”Also, my first try at changing the anchor code didn’t display. It was:
““ -
-
I’ll try again. Instead of openinf and closing HTML diagonal brackets, I’ll use square brackets.
The HTML code I was using for the internal anchor links, eg for the first contents item, Introduction, is:
[a href=”#intro”]Introduction[/a]The code at the anchor is:
[a name=”intro”][/a]I tried different anchor code:
[a id=”intro”][/a] and [p id=”intro”][/p] but it made no difference.
- The topic ‘Anchors OK on phone, not on PC’ is closed to new replies.