* { margin:0; padding:0; } div { width:905px; float:left; /*height:305px; */ } ul li { list-style:none; width:100px; height:100px; text-align:center; line-height:100px; background:#ff0; color:#000; font-size:20px; border:1px solid #999; float:left; border-right:none; cursor:pointer; } .addclass { background:#f00; font-size:25px; color:#00f; font-weight:900; } .dian { float:right; width:200px; min-height:400px; border:1px solid #999999; } .dian p { width:100px; height:50px; line-height:50px; }
代码简单易懂,上手很容易哦!!!