<!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=gb2312" /> <title></title> </head> <style type="text/css" media="all"> div { float:left; overflow:auto; } #WholePage { width:680px; border:groove; margin:0 0 0 0; text-align:center; overflow:scroll; background: #FFFFCC; vertical-align:top; } #PageStrip { width:100%; height:20%; border:groove; margin:0 0 0 0; text-align:center; background: #33FFCC; vertical-align:top; } #PageStrip #StripLeft { width:30%; border:groove; margin:10 10 10 10; text-align:center; background-color:#999999; vertical-align:top; } #PageStrip #StripRight { width:30%; border:groove; margin:10 10 10 10; text-align:center; background-color:#FFCCCC; vertical-align:top; } </style> <body> <div id="WholePage"> <div id="PageStrip"> <div id="StripLeft"> <span id="Box1">xxxx</span> </div> <div id="StripRight"> <span id="Box2">yyyy</span> </div> </div> <div id="PageStrip"> no division in this strip </div> <div id="PageStrip"> <div id="StripLeft"> <span id="Box3">zzzz</span> </div> <div id="StripRight"> <span id="Box4">wwww</span> </div> </div> </div> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)