#12003/10/15 14:06:34
我想使我的背景图案不重复,而且固定在右边,也不滚动,该怎么办呀?
看了好多网上的教程,都说是CSS里面改,或是加一段编码
背景重复(background-repeat)
P { background-repeat: no-repeat; background-image: url(
background.gif) }
固定背景(background-attachment)
BODY { background-attachment: fixed; background-image: url(
15/stuff3a/background.gif) }
背景定位(background-position)
P { background-position: center bottom; background-image: url (background.gif) }
可是,有一个很严重的问题,我这些编码加在哪啊,怎么加来加去都在页面显示了这些编码,一点做用都没有!!!!!55555555555555