日期:2014-05-17  浏览次数:20553 次

页面布局

这个布局在VS2010里面framset这个标签不能用,他们说用CSS+DIV,但是CSS+DIV该怎么写啊!
------解决方案--------------------
如下代码所示:
<div id="rootDiv" style="border:1 solid red;">
<table name="myTbl" border="1">
<tr clospan="2">
<td>
<div id="theFirstDiv" style="border:1 solid red;" width="100%px" height="120px">
This is the first DIV.
</div>
</td>
</tr>
<tr>
<td>
<div id="theSecondDiv" style=border:1 solid red;" width="620px" height="120px">
This is the second DIV.
</div>
</tr>
</td>
<tr rowspan="2">
<td>
<div id="theSecondDiv" style=border:1 solid red;" width="620px" height="120px">
This is the second DIV.
</div>
</tr>
</td>
<tr>
<td>
<div id="theSecondDiv" style=border:1 solid red;" width="620px" height="120px">
This is the second DIV.
</div>
</tr>
</td>
</talbe>
</div>