摘要:
<!doctype html><html><head><meta charset="utf-8"><title>自身浮动法</title><style> .parent{ margin:auto; background:#09F; } .left{ width:200px; height:200px; background:#369; float:left; } .right{ width:250px; height:200px; background:#C0C; float:right; 阅读全文
摘要:
<!doctype html><html><head><meta charset="utf-8"><title>绝对定位法</title><style> .parent{ margin:auto; background:#09F; position:relative; } .left{ width:200px; height:200px; background:#369; position:absolute; left:0; top:0; } .right{ width:250px; hei 阅读全文