* { margin:0; padding:0; } ul { list-style:none; } body { padding:50px; } .mar { width:350px; height:250px; border:1px solid #f80; overflow:hidden; } .mar li { height:35px; line-height:35px; border-bottom:1px dashed #bbb; padding-left:10px; } .mar li:hover { background-color:#f80; color:#fff; }