+ 2

why cant i see the background i put from another device?

i have set a background image(file:///.......) from my tab but when i want to see the background from my pc, it doesnt show. why? is the location only for my tab?

3rd Aug 2020, 12:37 PM
Zihan Sabah
Zihan Sabah - avatar
4 Answers
+ 3
Actually friend,It depends on from where you have embed your background img if you have embed it from your tab's file it may not be shown in any other devices.but if you add img.from any online src like Google ,Dropbox,drive,or any other as like WordPress and blogger.so it will show in all device...... Comment me is this helpful? or not.... i hope you got your ans..
3rd Aug 2020, 12:48 PM
Akash Patel
Akash Patel - avatar
+ 3
https://code.sololearn.com/WNBMkj6W53zB/?ref=app hii,look it in any device no problem.and upvote it if like...
3rd Aug 2020, 12:56 PM
Akash Patel
Akash Patel - avatar
+ 1
Is your website online? Have you uploaded the image to the server? Sometimes when you update CSS file if you are using external CSS document the page will not update because of cache, a way to fix that is by writing <link href="example.css?ver=1" and increase the number every time you update the CSS document, this way you force the site to read the new updated CSS document.
3rd Aug 2020, 12:59 PM
Karak10
Karak10 - avatar
0
AKASH PATEL As the img is in your tab's internal storage, you can't access it from any other device. That's why, people suggest to use online resources for your files. See my code example on pro and cons of using local files: https://code.sololearn.com/Ws6teyT5ti3g/?ref=app
3rd Aug 2020, 1:56 PM
Hanuma Ukkadapu
Hanuma Ukkadapu - avatar