Jump to content

Image breaking in IE.


Ruud Hermans

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...