rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: newuser on February 01, 2005, 02:48:32 PM
-
i need a code for a background with picture . (background.jpg)
and can tell me where to insert code plz ? thank you
-
search for: body { margin:0; background-color:#DDDDFF; padding:10px; }
replace with: body { margin:0; background:#DDDDFF url(background.jpg); padding:10px; }
-
Color Codes:
http://webmonkey.wired.com/webmonkey/reference/color_codes/
-
search for: body { margin:0; background-color:#DDDDFF; padding:10px; }
replace with: body { margin:0; background:#DDDDFF url(background.jpg); padding:10px; }
doesnt work i still get the default background color, the background color is in the same folder as hfs.exe
thats the code i put in
body { margin:0; background:#DDDDFF url(webbg.jpg); padding:10px; }
-
the background color is in the same folder as hfs.exe
it is useless to put it in the same folder
does people have access to the folder where hfs.exe is in? ...nope
you have to make the file publically accessible
-
try using and image hosting site such as imageshack.US
-
I did some changes on my site and with a little messing around I figured it out. All you need to do is create a hidden folder in HFS that people cannot see when going to your site. Put all of your image files in that folder and then find out the URL of the image file that you want for your background. The change the body tag to add the background. Here's an example of my code....<body background="http://(yourserver/Images%20for%20Web%20server/background.jpg">
The most important thing to remember is that you should not put protection (ie - passwords) on your hidden folder otherwise you will run into problems with constant prompts to put your user id and password in (that is if you require a password to get into your server). My top most folder is the hidden folder on my server so I leave it open for everyone but it is not visible to the common user. It worked great for me. Here's my site if you want to take a look. http://www.jdog12345.cjb.net. The images run a little slow because I need more upload bandwidth.
-
this code is better
<body background="/Images%20for%20Web%20server/background.jpg">
IP independent
-
this code is better
<body background="/Images%20for%20Web%20server/background.jpg">
IP independent
Thanks Rejetto. By the way you are doing a great job. Thanks foe doing all this work and giving it to us free.