How to upload images in background in iOS?

Web images wont work... (showing what i did)?

  • This is what I did and my images only work on my computer when I upload them to my website: I dont know what a realive url is but is that what I did wrong? <html> <head> <style type="text/css"> div.pie { width:20px; height:15px; padding:50px; background-image:url(http://th00.deviantart.net/fs9/300W/i/2006/041/4/9/Posh_Gold_Frame_Stock_by_SockMonkeyStock. jpg); height="50"; width="50";Background-repeat:no-repeat; Position:relative; left:420px;bottom:360px;} </style> </head> <body> <div class="pie"><img src="file:///C:/Documents%20and%20Settin… jpg"; height="200"; width="200";><p id="para2"> Pies </p> I have six different images like this.......thank you so much....

  • Answer:

    You are referring to images on your computer. All images must be uploaded to your web site. You should also use relative URLs as follows. On your computer you have a folder named "my web site". In that folder is the index.html document. You should also have a folder called "images" within "my web site". In that folder you place the jpgs. In your index.html you have <img src="images/whatever.jpg"> You then upload the image.html to your base online location. You also create an "images" folder and upload the jpg to that file. Now you do not have to change the index.html document. The url is relative. Relative urls do not have the http:// or file:// prefix and are relative to the document referring to them. Technically the images folder is not needed. It just keeps things neater. You can always put the jpgs at the same level as the html. ₪ ʎəɿʞɹɐq ₪

It-never... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.