Herodotus 0 Posted October 8, 2019 Report 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. Quote Link to post Share on other sites
dsonesuk 913 Posted October 8, 2019 Report 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! Quote Link to post Share on other sites
Makwana Prahlad 1 Posted December 16, 2019 Report 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. Quote Link to post Share on other sites
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.