P pzqwpo New Member ★ 15 ★ Impact 0 May 8, 2009 621 views 1 reply #1 I want to center my website and behind the centered div tag i want to have a plain gray background but i can't seem to get any codes to work. Please give me the exact codes and where to put them...i dont know if i should put it in a css or right in the page code.
I want to center my website and behind the centered div tag i want to have a plain gray background but i can't seem to get any codes to work. Please give me the exact codes and where to put them...i dont know if i should put it in a css or right in the page code.
M MK3Design Established Member ★ 20 ★ Impact 3 May 8, 2009 #2 Code: #div-id { width: 100%; margin: 0 auto; background: url('imagehere.jpg'); background-repeat: x; }
Code: #div-id { width: 100%; margin: 0 auto; background: url('imagehere.jpg'); background-repeat: x; }