ASP.NET小收集:IFrame使用

本文介绍了一种利用Iframe创建固定框架的方法,通过设定cols属性实现后台网站中左侧导航栏与右侧内容区域的布局。这种方法适用于需要固定侧边栏布局的后台管理系统。
使用Iframe制作一个固定框架,很方便与象后台网站之类的页面
 1<html xmlns="http://www.w3.org/1999/xhtml" >
 2<head runat="server">
 3<title>后台</title>
 4</head>
 5<frameset cols="170,*" framespacing="1" border="1" frameborder="1">
 6<frame name="left" target="right" scrolling="auto" src="Left.aspx" noresize>
 7<frame name="right" src="">
 8<noframes>
 9<body>
10<p>此网页使用了框架,但您的浏览器不支持框架。</p>
11</body>
12</noframes>
13〈/frameset>
14</html>

转载于:https://www.cnblogs.com/lixx/archive/2008/06/17/1223565.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值