vs 2005應用2003框架

vs 2005 有了新 的 框架master page,但是這個不好使用,而且特別是js的用法與以前都不一樣了,所以,只有捨棄這種作法..
沒想到,2005是可以使用2003框架的.
新建一頁,html,code 如下:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    
<title>Untitled Page</title>
</head>
<!--<body >
</body>
-->
<frameset border="0" frameSpacing="0" rows="70,*,26" frameBorder="1">
        
<frame name="top" src="a.aspx" noResize scrolling="no" >
        
<frame name="main" src="b.aspx" noResize frameborder="no">
    
</frameset>
</html>

但是不能design,運行的是確實好的.

然後在連結也免入下設計:這樣連結的頁面就會顯示在指定的地方.

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    
<title>Untitled Page</title>
  
<BASE target="main">
</head> <%--target ="content"--%>
<body>
    
<form id="form1" runat="server">
    
<div>
    ni hao a ,zhongguo !!
    
<href ="Default.aspx ">lian jie </a>
    
</div>
    
</form>
</body>
</html>
posted @ 2007-01-12 16:44  Nina  阅读(339)  评论(0编辑  收藏  举报