PortableApps.com Platform and Suite 1.6 have been released.

Please use "a name" and not ID for anchor (#) links

Submitted by lwc on November 10, 2009 - 2:54pm

Each post/comment gets an anchor link. But you only support browsers that know to treat ID like "a name". Please support the latter to support all browsers.


( categories: )

Broken Browser

Drupal (our content management system) uses IDs. IDs are 100% valid HTML as anchors and are a part of the HTML specification as such. IDs as anchors is supported by Firefox, Internet Explorer, Safari, Chrome and Opera.

If your browser doesn't support it, it's a bug and should be reported to your browser publisher.

Sometimes, the impossible can become possible, if you're awesome!

^ | | He's right, if your

^
|
|

He's right, if your browser doensn't know how to treat the < a name="" > tag, it's got some major issues Sticking out tongue

[Edit: Whoops, I'm stupid (misread) Sticking out tongue, what browser doesn't know how to handle the ID thing though?]

Siggys waste Bandwidth... that's why I have one.

Other way around gluxon

lwc said that his browser has <a name=""> support but lacks <a id=""> support, and Drupal only uses <a id="">, and so, he was requesting the inclusion of a name attribute in the tags so he could use them. But a browser that doesn't support ids is really out of date and should be replaced by a more modern browser. Beyond that, using the id attribute is perfectly valid HTML.

EDIT: Whoops, too late, you already figured your mistake. And gluxon, lots of older browsers do, like older Netscape and older IEs.

- It is blue! - What? And... why... blue? - It is blue because it is! What were you expecting, that it was green? That makes no sense!
Formerly known as ptmb.

lol, it's the war of the

Sticking out tongue

lol, it's the war of the Edits Sticking out tongue

Siggys waste Bandwidth... that's why I have one.