I've got 17 errors on a page I'm working on, because of this issue:
Specifically, the email link. <h > can't be inside a link. However, if I make two separate links, one for each heading style, the rollover doesn't work--only one of the two headings will have the shift to gray I've set up.
So: How can I make a single two-line link, which contains two different heading types?
Code:
<div class="details">
<a href="mailto:john.doe@johndoe.com">
<h3>John Doe</h3>
<h4>Editor in Chief</h4>
</a>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Quisque tempus lacus id neque ultrices id aliquet enim rhoncus.
Donec erat nulla, euismod nec accumsan eget, blandit at orci.
In et enim vitae nibh rhoncus sodales.
Donec sollicitudin pharetra elit et interdum.
Cras id sapien sed odio volutpat interdum id quis neque.
Donec nec imperdiet nibh. Cras sit amet neque diam.</p>
</div>
Specifically, the email link. <h > can't be inside a link. However, if I make two separate links, one for each heading style, the rollover doesn't work--only one of the two headings will have the shift to gray I've set up.
So: How can I make a single two-line link, which contains two different heading types?