2010-03-17 40 views

回答

0

或者您可以使用速記同時設置所有內容!

background:#ffffff url('/images/background.jpg') top right no-repeat;

1

,如果你想從頂部

{ backgroud: url(path to image) no-repeat 10px 20px; } 

沒有重複定位10px的右邊,20px的背景圖像,你可以使用負值的位置也是如此,例如。 -10px將其向左移動10px