opksrj Posted October 28, 2009 Share Posted October 28, 2009 hey there - i'm attempting to center this background photo on a site i'm working on... http://www.knesekguns.com/commercial/ not sure what i'm doing wrong..i added the center, no-repeat, & fixed options in the css... Quote Link to comment Share on other sites More sharing options...
smerny Posted October 28, 2009 Share Posted October 28, 2009 add these background-repeat:no-repeat; background-attachment:fixed; background-position:center; Quote Link to comment Share on other sites More sharing options...
opksrj Posted October 28, 2009 Author Share Posted October 28, 2009 no dice - i'm dumbfounded this is how i'd like the background to be: http://tech2.in.com/ Quote Link to comment Share on other sites More sharing options...
smerny Posted October 28, 2009 Share Posted October 28, 2009 man i just checked out your background image.... it's HUGE... should try to keep them down on size, 553.29 KB, 1979 by 1600px is extreme Quote Link to comment Share on other sites More sharing options...
smerny Posted October 28, 2009 Share Posted October 28, 2009 what that website you are wanting to mimic uses is: background:url(../images/bg.gif) repeat-y center; and bg.gif is 1440x1px and 1.44 kb repeat y means that the 1px tall image is repeatedly stacked on top of itself to fill the page Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.