cpd Posted December 20, 2008 Share Posted December 20, 2008 Baisically im trying to make a background image on the body of my website and ive tried several different things. 1. background: url(images/body-bg.jpg) repeat-y; 2. background: url('images/body-bg.jpg') repeat-y; 3. background: #9eb9c4 url(images/body-bg.jpg) repeat-y; 4. background-image: url(images/body-bg.jpg); background-repeat: repeat-y; 5. background-image: url('images/body-bg.jpg'); background-repeat: repeat-y; and nothing has worked. Could somone offer a solution or something much appreciated. The final design will be a gradient image going from dark to lighter then the lighter colour will be the background colour so that it all blends. Link to comment https://forums.phpfreaks.com/topic/137818-background-image-problem/ Share on other sites More sharing options...
dropfaith Posted December 20, 2008 Share Posted December 20, 2008 should help you out alot with css shorthand http://www.dustindiaz.com/css-shorthand/ bu i think you want this element { background: #9eb9c4 url(iimages/body-bg.jpg) repeat-y; } Link to comment https://forums.phpfreaks.com/topic/137818-background-image-problem/#findComment-720428 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.