cjb Posted November 16, 2010 Share Posted November 16, 2010 (edited) In order to add a background image to the whole page I added the follwing to stylesheet.css HTML {background-color: #"enter number"; background-image: url("enter url");} Edited November 16, 2010 by cjb Quote Link to comment Share on other sites More sharing options...
cjb Posted November 16, 2010 Author Share Posted November 16, 2010 use shorthand css - example; body { background: url('path/to/image.jpg') #fff; } that's more elegant, you are right. But if I add image to body, it does not appear. That is why I added it to the html. Quote Link to comment Share on other sites More sharing options...
cjb Posted November 16, 2010 Author Share Posted November 16, 2010 (edited) sorry, thanks a lot for correction - I must have made a mistake somewhere along the way. Edited November 16, 2010 by cjb Quote Link to comment Share on other sites More sharing options...
blr044 Posted November 16, 2010 Share Posted November 16, 2010 I was able to add image to web page background. But been working on something familiar and seen this thread so will post here then. A snapshot is below on what I am trying to accomplish: 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.