Menu
Anchors not working in IE.
Are anchors considered javascripts?
[code=php]<div align="right">
<img src="../images/tips/4.jpg" alt="" width="25" height="25" border="0">
<a id="anchor4" name="anchor4"></a></div>[/code]
[code=php]<div align="right"><a id="anchor4" name="anchor4"></a>
<img src="../images/tips/4.jpg" alt="" width="25" height="25" border="0" /></div>
[/code]
<div align="right">
<img src="../images/tips/4.jpg" alt="" width="25" height="25" border="0">
<a id="anchor4" name="anchor4"></a></div>
<div align="right">
<a id="anchor4" name="anchor4"><img src="../images/tips/4.jpg" alt="" width="25" height="25" border="0">
</a></div>
"An anchor wrapping nothing, clicked it cannot be." - Yoda[/QUOTE]I don't think it's meant to be clicked on.
[code=html]<img src="../images/tips/4.jpg" alt="Alternate text should never be left blank." width="25" height="25" style="border:0;float:left;" id="anchor4">
<a href="#anchor4">Jump to the image.</a>[/code]
Suppose we define an anchor named "anchor-one" in the file "one.html".
...text before the anchor...
<A name="anchor-one">This is the location of anchor one.</A>
...text after the anchor...
This creates an anchor around the text "This is the location of anchor one.". Usually, the contents of A are not rendered in any special way when A defines an anchor only.
[/quote]
An anchor wrapping nothing, clicked it cannot be." - Yoda[/QUOTE]
<a name="dest" id="dest"></a>
<a href="#dest">link to dest</a>
I just tried that. Same problem does no work.
Is anyone looking at the file I uploaded and test it?[/QUOTE]
why are you sending this stuff as TXT???Try uploading a .html file.
The text does not work
send the html[/QUOTE]
I think what he ment was save it on your computer as a .html file. Just copy everything from the txt file into notepad (or whatever) and save it as .html[/QUOTE]
Anchors are not supposed to be clicked, they are the target of a link from elsewhere. You click on links - not anchors.
<a name="dest" id="dest"></a>
<a href="#dest">link to dest</a>
The first line of code is the anchor and the second is the link to it.[/QUOTE]
Regardless, the quote I posted was from the spec and it indicated anchors probably need to be wrapping something, just like links do.[/QUOTE]my code does not follow this standard, but that can be easily changed however you want it.
[code=html]<img src="../images/tips/4.jpg" alt="Alternate text should never be left blank." width="25" height="25" style="border:0;float:left;" id="anchor4">
<a href="#anchor4">Jump to the image.</a>[/code]
If you want an online example the go to my site, it uses anchors all over the place. <a href="#anchor4">Jump to the image.</a>
And the anchor in question is this one:<a id="anchor4" name="anchor4"></a>
And it works. So what's your point?<img src="../images/tips/4.jpg" alt="Alternate text should never be left blank." width="25" height="25" style="border:0;float:left;" id="anchor4">
By the way, alternate text is supposed to be useful, in the event of the image not showing up, the alternate text will be displayed instead.0.1.9 — BETA 5.28