andykarasek02 Posted January 5, 2010 Report Share Posted January 5, 2010 Okay im hoping this is some really amateur mistake i just cant see, but basicaly im designing a myspace page (please dont make fun of me haha..) for my frieds band and ive got it all looking perfect in every browser except in internet explorer, it appears in IE the background image doesnt align properly, if anyone could advise me that would be amazing... http://www.myspace.com/iliketotestalot cheers Quote Link to comment Share on other sites More sharing options...
virtual Posted January 5, 2010 Report Share Posted January 5, 2010 Try changing the positioning of your background image to body { background: url(http://img69.imageshack.us/img69/3985/bg364.gif) #2c2c2c no-repeat 0 0; } Quote Link to comment Share on other sites More sharing options...
andykarasek02 Posted January 14, 2010 Author Report Share Posted January 14, 2010 tried doesnt seem to work, just aligns the background image to the left, thanks for you help though Quote Link to comment Share on other sites More sharing options...
Wickham Posted January 15, 2010 Report Share Posted January 15, 2010 (edited) Firefox appears to be centering the background but IE is making it left-aligned. 0 0 means top left so try top center:- body { background: url(http://img69.imageshack.us/img69/3985/bg364.gif) #2c2c2c no-repeat top center; } Edited January 15, 2010 by Wickham Quote Link to comment Share on other sites More sharing options...
andykarasek02 Posted January 15, 2010 Author Report Share Posted January 15, 2010 after putting that code in nothing changes, still works perfectly in every browser other than internet explorer, im stumped! thanks for your input Quote Link to comment Share on other sites More sharing options...
andykarasek02 Posted January 15, 2010 Author Report Share Posted January 15, 2010 actually scratch that last comment, when i put that in instead the bg image wont actually load, am i doing something wrong? ive left the code in there on the first link so you can check the source.... thanks again. Quote Link to comment Share on other sites More sharing options...
Wickham Posted January 15, 2010 Report Share Posted January 15, 2010 I notice that the page hasn't got a doctype right at the top above the html tag and that often affects IE more than Firefox. http://www.w3.org/QA/2002/04/valid-dtd-list.html Quote Link to comment Share on other sites More sharing options...
virtual Posted January 15, 2010 Report Share Posted January 15, 2010 I could not find your background image in the css in Firebug? 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.
Note: Your post will require moderator approval before it will be visible.