in body tag type
background = "imgname.jpg"
eg.
if image in a folder then
background = "../folder1/imgname.jpg"
eg.
2007-09-19 02:04:00
·
answer #1
·
answered by iMaXX 4
·
0⤊
0⤋
Make sure, the background-image is uploaded to the website where you want to be used (of course) and make sure it's big enough to be displayed properly! You'll have to diddle it to make sure it fits the screen properly! Try some screens AFTER you try this style:
body { background-image: url('my.jpg'); background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }
...the background-attachment item is optional, but means that, as the content of the page is scrolled, the pic will stay in place. Again, make sure the pic is wide and tall enough to fill the screen! (Mine wasn't and was too grainy so I had to take the photo again and diddle it in Photoshop! Also mine was too dark and made the print too hard to see in parts of the screen! So be careful!)
2007-09-19 04:14:05
·
answer #2
·
answered by fjpoblam 7
·
0⤊
0⤋
Where drkrainbow.gif is the file name of the image you wish to use.
Keep in mind that if you're uploading the website to a web server, you need to also upload the image you wish to use as a background.
2007-09-19 02:05:41
·
answer #3
·
answered by Anonymous
·
0⤊
0⤋
Whats going is the variables you make the main of exterior your purposes are being overwritten and therefor showing numbers incorrectly. variable x is getting used exterior the function time-honored(a, b) and contained interior the function time-honored(a, b) as nicely. replace it to a minimum of something like: // This function takes in 2 numbers and returns the classic. function time-honored(u, v) { return ((u + v) / 2); } comparable is going for the adder function: (replaced i to j) // This function takes in an integer and gives you it // plus all previous integers on a similar time. // as an social gathering, if n=3, result = 0 + a million + 2 + 3 function adder(n) { var result; result = 0; for (j = 0; j < (n + a million); j++) { result = result + j; } return result; }
2016-10-19 02:19:12
·
answer #4
·
answered by ? 4
·
0⤊
0⤋
Like this, as long as the image is in the same directory as your source code. Here i have a background and font colors and a java script file loading, so you can ignore that.
The background picture is blue076.jpg
2007-09-19 02:06:17
·
answer #5
·
answered by ? 6
·
0⤊
0⤋