Html and CSS
Ive been trying to upload a background image to my page with CSS but its not responding,i've already linked the CSS with the HTML and i've grouped them in one folder but still theirs no good outcome,and ive also give the right extension(jpg) to the image.....help me through please
8/20/2020 4:28:56 PMMuhammad Sani Aliyu
20 AnswersNew Answer
You need to upload the image to a cloud server (Dropbox). But remember it is not secure. There you can generate the copy link of the image like e.g. http://www.smth0i7778 Then, replace 'www' with 'dl' and then you use the link as a src value. There is also an another method available that you need to convert your image fiile to base64 code using website tht are available in google. After the conversion you can get the link they provided. And use it as a src value. Here is a sample project of mine: https://code.sololearn.com/W88mMeXZuTFG/?ref=app
Thank you Sir(s) Raghu Rao and junayeD ●_° ,i will try it instantly
Hope you become a good programmer bro
Sagar singh dude which language are you using . This platform is for learning not for this. I can report and ban your account also but i am giving you a chance so please delete.
Make sure you have specified in which folder the image document is located. For example, if you have put it in a folder called images you must specify it> href = "images / name of the image.jpg. If you have put it in a folder before that of the css document, you must indicate to go back to find that document with the image> href = ".. / name of the image.jpg"
Thanks Alot Sir,I understand the process Juan Pablo González
Copy the image to the folder in which you have your code of HTML and css Also see if your syntax is correct background-image:url("photo.jpg");
It's my pleasure to help you bro 🤘 Happy Coding 😋
https://code.sololearn.com/Wi0X23Z2hxah/?ref=app Bro follow this code. I hope you understand. All the best. 👍👍👍
If you have tried everything and got no solution and if you can't share your code. try inline css for background once.
I am so glad to help you. 😇😇😇
Please post your code here. Then others will understand ur problem easily. Adjust resolution of image. May be it will help u
You're welcome then
BroFar please see what they are doing see their language take appropriate actions against them sir
Mohammed kamil Jan it was so helpful,thanks,ive review the process
Excuse me pls,u have to understand me first Himanshu Shah ,im not using this page,i'm building a different page pls,not with Sololearn,i'm just asking out here for help...dont complicate ur self