squiblo Posted August 14, 2009 Share Posted August 14, 2009 ive tried to set a background but i would like more than one image how can i do this? i have tried this... body { background:#E6E6E6; background-image:url('/images/body_img.jpg'); background-repeat:no-repeat; background-attachment:fixed; background-position:50% 70%; } body { background:#E6E6E6; background-image:url('/images/header_img.jpg'); background-repeat:no-repeat; background-attachment:fixed; background-position:top center; } but doesnt work, it only shows one image, what is the right way of doing this? Quote Link to comment https://forums.phpfreaks.com/topic/170264-solved-background-images/ Share on other sites More sharing options...
JonnoTheDev Posted August 14, 2009 Share Posted August 14, 2009 You cannot. Separate the page into parts and apply background images to them <div id="part1"></div> <div id="part2"></div> Quote Link to comment https://forums.phpfreaks.com/topic/170264-solved-background-images/#findComment-898207 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.