html,body,div,canvas,nav,input,ul,li { margin:0; padding:0; } #box { width:600px; height:500px; margin:0px auto; background-color:palevioletred; } #box nav { width:100%; height:100px; } #box nav div { height:50px; line-height:50px; } #box nav .changeColor { padding-left:15px; } .changeColor input { width:30px; height:30px; margin:0 15px; vertical-align:middle; } .clear input { margin-left:15px; width:100px; height:30px; background-color:cadetblue; } canvas { background-color:gainsboro; }