2011-06-02 67 views
1

我有一個512x512圖像,我想用它作爲我想拼貼的圖案。我可以只用repeat -x,因爲圖像非常大,不會重複-y,是否有一組特定的代碼,我應該使用像position:something或overflow:something。如何製作較大的背景圖片重複,無論瀏覽器大小?

非常感謝你, 亞倫

+1

組合實際上它並不像聽起來有問題。你能澄清這個問題嗎? – 2011-06-02 14:59:56

+1

你使用CSS嗎? XAML?純HTML?還有其他的東西嗎? – 2011-06-02 15:05:18

+0

將'design'重新設計爲'web-design' – 2011-06-02 15:57:10

回答

1

嘗試這些

repeat-x; 
repeat-y; 
repeat; 
background-position:center; 
background-position:left top; 
background-position:left center; 
background-position:left bottom; 
background-position:right top; 
background-position:right center; 
background-position:right bottom; 
background-position:center top; 
background-position:center center; 
background-position:50% 50%; 
background-position:10px 200px; 
background-position:center bottom 
相關問題