2010-10-30 64 views
1

我正在使用ASP.NET主页。我在主页面有3个表格作为列。第一个表格加载第二个表格,其中包含我的“ContentPlaceHolder”,然后是表格3.使用ASP.NET MasterPages时按正确顺序加载表

如何或必须先加载表格1然后加载表格3,最后加载包含“ContentPlaceHolder”的表格2?

回答

0

尝试以下塞纳里奥:

<Style> 
#left 
{ 
    float:left; 
    width:150px; 
    background-color:Black; 
} 
#right 
{ 
    float:right; 
    width:150px; 
    background-color:Yellow; 
} 
#center 
{ 
    margin-left:auto; 
    margin-right:auto; 
} 
</Style> 
<div id="left"> 
    Left Column 
    </div> 
    <div id="right"> 
    right Column 
    </div> 
    <div id="center"> 
    Content 
    </div>