Herodotus Posted October 8, 2019 Share Posted October 8, 2019 This does not help me at allbody { background-image: url("paper.gif");} How are you going to teach and certify people when I cant even learn to add a background image? Why are you suing URL and not img? That code above does not work at all And apparently on the entire CSS standards you provide me with the vaguest littlest description with zero information and nothing else? Why? That code does not work, not at all not even in the slightest. Link to comment Share on other sites More sharing options...
dsonesuk Posted October 8, 2019 Share Posted October 8, 2019 Your Right! we should scrap the url, even though its been used that way since year dot, because you and only you don't know how to implement it correctly. 1) do you have a local server? 2) are the image and the document this CSS is used on, in the same directory? Then it should work! Link to comment Share on other sites More sharing options...
Makwana Prahlad Posted December 16, 2019 Share Posted December 16, 2019 Hello, @Herodotus In your code, everything is right just check the path of the image whether your image file and code is under same folder. Else pass full url of image file like this : background-image: url("file://C:/Users/Admin/Desktop/Images/img2.jpeg"); I hope above information will be useful for you. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now