+ 1
how to upload background pic on wedsite
2 odpowiedzi
+ 1
To upload files to the website server you should use an FTP program (to transfer the files). To use the uploaded files as background in the page, you should use CSS styling. After this course, install the CSS course.
0
Where is your website?
If it's on a server (on the Internet), you would use the same method as when you uploaded your other files.
If your files are on your computer, either put the background image in the same folder or create one inside that folder where your html files are and call it 'images'.
In your html code add this style between <head> and </head>:
body {
background: url(image-name.jpg) no-repeat 0 0;
}
if the image is in 'images' folder:
body {
background: url(images/image-name.jpg) no-repeat 0 0;
}
Change image-name to your actual image.
There are many different options on how the background image is shown. You'll learn about that in the CSS course.