+ 6
How to add a background-image in html form??? I am a beginner, please help me.
5 ответов
+ 29
form{
background: url(Put the path of your image here);
}
+ 3
Also note that the image file should be accessible on the web. The file you are using is only accessible from your own computer or camera...
+ 3
I looked into your css file and you forgot to put quation marks around the url itself so you should do it like this:
background: url("folder/subfolder/image.png");
Also note that you shouldn't have any spaces in your filepath. It will most likely cause an error as well. So instead of "this is a folder" name it like this "this_is_a_folder"
+ 1
It can be done with css, use the following syntax:
form{ background-image:url("put the link to your image here");
}
+ 1
How will i fade my background image?