<!DOCTYPE HTML> <html lang="en"> <head> <style type="text/css"> html { color: rgb(10,10,10); background: rgb(150,150,150); font-family:sans-serif; } ul, li { display: block; } a {display:block; float:left; width:100px; height:50px; text-align:center; background: #ccc;} </style> <title>test</title> </head> <body> <ul> <li><a href="/">abc</a></li> <li><a href="/">abc</a></li> <li><a href="/">abc</a></li> </ul> </body> </html>