Ruud Hermans Posted October 7, 2006 Share Posted October 7, 2006 just placed an image as background in the CSS file but in IE it seems to break apart.The code I used in the CSS file is. body {background-image: url('afbeeldingen/afbeelding1.gif');background-repeat: repeat-y;background-attachment: fixed;background-position: center; } Ruud Hermans Link to comment Share on other sites More sharing options...
danm68 Posted October 7, 2006 Share Posted October 7, 2006 Do you have to have url('afbeeldingen......gif')?I normally put images in without the single quotations....please tell me if what i am doing is wrong lol.Have you put it through a validator yet? Link to comment Share on other sites More sharing options...
Ruud Hermans Posted October 7, 2006 Author Share Posted October 7, 2006 Not yet but I presume it's the right way: http://www.w3schools.com/css/tryit.asp?fil...ackground-imageRuud Hermans Link to comment Share on other sites More sharing options...
scott100 Posted October 7, 2006 Share Posted October 7, 2006 Works fine <style type="text/css">body {background-image: url('http://www.w3schools.com/css/bgdesert.jpg');background-repeat: repeat-y;background-position: center; }</style>I removed this because it didn't make sensebackground-attachment: fixed; Link to comment Share on other sites More sharing options...
Ruud Hermans Posted October 7, 2006 Author Share Posted October 7, 2006 Must be me then, guess my eyes and mind are not working for the full 100% no more after an entire day of reading behind the computer.Ruud Hermans Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now