1: 底部对齐的代码(相对于父块): <br />.box1 {border:1px #cccccc solid; width:500px; height:600px;position:relative;}<br />.box2 {border-top:1px #cccccc solid; background:#f2f6fb; width:498px; height:22px; position:absolute; bottom:0;}<br /> 2: <br />.box1 {border:1px #cccccc solid; width:500px; height:600px;}<br />.box2 {border-top:1px #cccccc solid; border-bottom:0; background:#f2f6fb; width:500px; height:22px;}<br />