<html> <head> <style> a:focus{position:relative;} button span{display:block;} button{display:inline-block;) </style> </head> <body> <p>Start</p> <div> <p>Line 1</p> <a href="foo"><button><span> Line 2 </span></button></a> <p>Line 3</p> </div> <p>End</p> </body> </html>