rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: newuser on February 01, 2005, 02:48:32 PM

Title: template codes
Post 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
Title: template codes
Post by: rejetto on February 02, 2005, 04:06:08 AM
search for: body { margin:0; background-color:#DDDDFF; padding:10px; }

replace with: body { margin:0; background:#DDDDFF url(background.jpg); padding:10px; }
Title: template codes
Post by: Anonymous on February 09, 2005, 07:28:44 AM
Color Codes:
Code: [Select]
http://webmonkey.wired.com/webmonkey/reference/color_codes/
Title: template codes
Post by: ataxy on February 18, 2006, 08:48:12 PM
Quote from: "rejetto"
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; }
Title: template codes
Post by: rejetto on February 19, 2006, 06:01:52 AM
Quote from: "ataxy"
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
Title: template codes
Post by: BowflexMaster on March 04, 2006, 04:29:36 AM
try using and image hosting site such as imageshack.US
Title: template codes
Post by: jdog_12345 on March 07, 2006, 05:25:27 PM
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.
Title: template codes
Post by: rejetto on March 07, 2006, 06:48:15 PM
this code is better
Code: [Select]
<body background="/Images%20for%20Web%20server/background.jpg">IP independent
Title: template codes
Post by: J-Dog on March 08, 2006, 11:29:20 AM
Quote from: "rejetto"
this code is better
Code: [Select]
<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.