池华琼在孽债中色诱:会网页特效的高手来帮个忙!!!!!
来源:百度文库 编辑:中科新闻网 时间:2024/05/17 13:32:55
我做网页 背景不够长 我想拖动滚动条的时候让背景不动 只有前面的东西滚动 该怎么做啊 急用啊!!!!!!!!!
固定背景使用方法:
<BODY style="background:url(图片地址) fixed no-repeat center middle">
背景居中!
<BODY style="background:url(图片地址) fixed no-repeat top right">
背景右上!
<BODY style="background:url(图片地址) fixed no-repeat bottom right">
背景右下!
<BODY style="background:url(图片地址) fixed no-repeat top left">
背景左上!
<BODY style="background:url(图片地址) fixed no-repeat bottom left">
背景左下!
网上查的,希望可以帮到你