左侧固定宽度 右侧自适应
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <style type="text/css"> body{padding:0px; margin:0px;} .left{ float:left; width:200px; border:#000 1px solid; } .right{ overflow: auto; border:#999 1px solid; } </style> </head> <body> <div> <div class="left">1</div> <div class="right">2</div> </div> </body> </html>