纽易网络:会网页特效的高手来帮个忙!!!!!
来源:百度文库 编辑:高校问答 时间:2024/10/04 21:18:21
我做网页 背景不够长 我想拖动滚动条的时候让背景不动 只有前面的东西滚动 该怎么做啊 急用啊!!!!!!!!!
固定背景使用方法:
<BODY s="background:url(图片地址) fixed no-repeat center middle">
背景居中!
<BODY s="background:url(图片地址) fixed no-repeat top right">
背景右上!
<BODY s="background:url(图片地址) fixed no-repeat bottom right">
背景右下!
<BODY s="background:url(图片地址) fixed no-repeat top left">
背景左上!
<BODY s="background:url(图片地址) fixed no-repeat bottom left">
背景左下!
网上查的,希望可以帮到你