当前位置: 代码迷 >> 网页设计 >> 页面布局,该如何解决
  详细解决方案

页面布局,该如何解决

热度:444   发布时间:2013-10-21 17:03:30.0
页面布局

这个布局在VS2010里面framset这个标签不能用,他们说用CSS+DIV,但是CSS+DIV该怎么写啊!
布局 CSS Visual?Studio?2010

------解决方案--------------------
如下代码所示:
<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>
  相关解决方案