html-上左右布局方式---ShinePans

文件包括 main.html  top.html  left.html  childhood.html  moonsong.html  herethesea.html


主要布局效果:



代码:

main.html

<frameset rows="30%,*"> <!--上面部分-->
<frame src="top.html" scrolling="no">
<frameset cols="20%,*" > <!--以下80%分为左右部分-->
<frame src="left.html" noresize frameborder="1"/ scrolling="no">
<frame src="right.html" name="myframe" noresize frameborder="1"/>
</frameset>
</frameset>

top.html

<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<body>
<table align="center" boder="0px" width="100%" height="200px" background="topJpg.jpg" cellspacing="0px" cellspading="0px">
	<tr></tr>
</table>
</body>

left.html

<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<body bgcolor="lightblue">
		<center>
		</center>
	<!--target 点击后的目标-->
	<ul>
	<li><a href="herethesea.html" target="myframe">最重要的决定</a></li>
	<li><a href="childhood.html" target="myframe">下沙</a></li>
	<li><a href="moonsong.html" target="myframe">与半小夜曲</a></li>
    </ul>
</body>

right.html

<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<body bgcolor="silver">
	歌词
</body>

歌词略..

转载于:https://www.cnblogs.com/yutingliuyl/p/7068345.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值