Andrew
Andrew

Reputation: 3663

Extra clickable space after anchor closes

With this code:

<a href="http://www.website.com/"> <mark></mark> </a>

A working example: http://jsfiddle.net/WM8A5/104/

With this piece of code an extra _ character appears. But if you use styling and take away text decoration it simply makes it invisible.
Oddly enough it only happens when there is text right after the anchor tag is closed.

Is there a way to get rid of it?

Upvotes: 2

Views: 42

Answers (1)

Jmh2013
Jmh2013

Reputation: 2777

Remove the space between </mark> and </a>

fiddle

Upvotes: 1

Related Questions