<!DOCTYPE html> <html> <head> <style type="text/css"> div { background-color: pink; } div div { float: left; width: 100px; height: 100px; margin: 4px; border: 1px solid #000; background-color: #eee; } br { clear: left; } a { outline: none; } </style> </head> <body onload="document.getElementById('test').focus();"> <div> <div> <a id="test" href="#">Link 1</a> </div> <div> <a href="#">Link 2</a> </div> <br> <div> <a href="#">Link 3</a> </div> <br></div> </body> </html>