bravo14 Posted October 5, 2014 Share Posted October 5, 2014 I am using the following css .content { min-height: 850px; color: #CCC; padding-right: 320px; background-image:url(../images/wheelie.png); background-repeat: no-repeat; background-position: right bottom; } however the background image only shows in the desktop version of safari, I have checked firefox and chrome and mobile safari. I can't see why. Quote Link to comment Share on other sites More sharing options...
Frank_b Posted October 5, 2014 Share Posted October 5, 2014 check if your HTML is valid Quote Link to comment Share on other sites More sharing options...
cyberRobot Posted October 7, 2014 Share Posted October 7, 2014 check if your HTML is valid @bravo14 - You're probably already aware of this, but you can validate your HTML here: http://validator.w3.org/ The W3C also has a CSS validation tool here: http://jigsaw.w3.org/css-validator/ As for your question, the code seems to work for me in Internet Explorer, Firefox, and Chrome. Perhaps the background image URL isn't pointing to the right address. Is your CSS in an external file...or is it in your HTML document? If it's in an external file, perhaps the issue is caused by the document-relative path. You could try switching to a root-relative path. More information about the different path types can be found here: http://brugbart.com/paths 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.