:links and HTML

Hi,

at "5.11.2 The link pseudo-classes: :link and :visited" in the CSS 2
specs there is this sentence:
"The document language determines which elements are hyperlink source
anchors. For example, in HTML 4.0, the link pseudo-classes apply to A
elements with an 'href' attribute."

The question is whether it makes sense to extend this to the "onClick"
attribute. The HTML 4.01 specification is not very clear in this point
thus CSS2 is the only place where it is mentioned.

An example is:
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=16782

I came accross this problem as I saw a link which didn't behave like a
link (no pointer cursor) which gives you a very odd response. (I know
that this problem can easily be solved by assigning the "cursor:
pointer" style to this element, but this is more a general question.)
  http://www.e-shuppan.com/                     -- The actuall page
  http://www.e-shuppan.com/Html/Main/Footer.htm -- The frame loaded by
above url

With warm regards,

Tobias

PS: I checked this in as bug
http://bugzilla.mozilla.org/show_bug.cgi?id=56121 in Mozilla but with
the current CSS2 it would be probably INVALID because of see above.

Received on Thursday, 12 October 2000 10:50:39 UTC