Below is my HTML and CSS code -
.screenReaderOnly {
width: 1px;
height: 0;
overflow: hidden;
font-size: 0;
float: left;
}
<p>Please click on this
<a href="mailto:XXX@XXX.XXX">link
<span class="screenReaderOnly">Opens in new mail window</span>
</a>.</p>
In the output there is a weird white space between the word link
and .
- why is this happening? and how do I get rid of it?