Re: Empty link



/Stanimir Stamenkov/:

> As part of a thread [1] on netscape.public.dev.css a guy (Gus Richter)
> tries to convince me <a><span></span></a> is not an empty anchor:

To put more concrete examples, I've stated:

<a><img alt="Link text" src="..."></a>

is not an empty link (what Gus refers to as "OPs method"), but he says:

> What I believe you are now saying is that my method works, but fails if
> CSS is turned off. I totally agree with that. Yet you point out the OPs
> method to be acceptable although it should fail for the same reason.

Gus, I believe you read this group also, so I'll reply you here.

/Gus Richter/:

> Additionally, you failed to note and point out to him (as you correctly
> did for my original example) that his method of overlaying a transparent
> gif at the start of each page is also invalid.

No, the method is not invalid and is not such bad as yours because of
the 'alt' content, but I've pointed that already
<http://groups.google.com/group/netscape.public.dev.css/browse_thread/thread/93979de28eae0929/7ff9547dbe03d825#f2de07bb0346dc67>:

> I suggest adding a 'title' to the link (one would need to add it to
> the <img> element because IE bug, again) for the case where the
> style*** is not available but the transparent image is - rendering
> an empty area.

--
Stanimir

.


Quantcast