glenelkins Posted March 16, 2009 Share Posted March 16, 2009 Hi Just a bit on info. I just noticed after god knows how many layouts i have created in the past, that background images in IE dont work when content is over the top, IF you have your decleration like this: background:url('../PATH/TO/IMAGE/FILE.PNG')no-repeat; For some reason, IE wants a space right before the "no-repeat" like so: background:url('../PATH/TO/IMAGE/FILE.PNG') no-repeat; otherwise it just tells you to do one!! very stupid issue there, i dont know if thats an IE bug or not but just in case anyone gets stuck with backgrounds not showing...there is your solution!! Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 16, 2009 Share Posted March 16, 2009 not a bug...there is supposed to be a space there. if it works in other browsers, they are just being nice. http://www.w3schools.com/css/pr_background.asp Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted March 17, 2009 Share Posted March 17, 2009 why do you enclose the file pathname in quotes? I thought the quotes were optional/unnecessary. Quote Link to comment Share on other sites More sharing options...
glenelkins Posted March 17, 2009 Author Share Posted March 17, 2009 the quotes are just personal preference, coding style etc Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 17, 2009 Share Posted March 17, 2009 i'm pretty sure the quotes aren't CSS2+ valid either 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.