rejetto forum
May 23, 2012, 11:13:58 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: template codes  (Read 4829 times)
0 Members and 1 Guest are viewing this topic.
newuser
Guest
« on: February 01, 2005, 08:48:32 AM »

i need a code for a background with picture . (background.jpg)
and can tell me where to insert code plz ? thank you
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #1 on: February 01, 2005, 10:06:08 PM »

search for: body { margin:0; background-color:#DDDDFF; padding:10px; }

replace with: body { margin:0; background:#DDDDFF url(background.jpg); padding:10px; }
Logged
Anonymous
Guest
« Reply #2 on: February 09, 2005, 01:28:44 AM »

Color Codes:
Code:
http://webmonkey.wired.com/webmonkey/reference/color_codes/
Logged
ataxy
Regular poster
**
Offline Offline

Posts: 17

170536088
View Profile WWW
« Reply #3 on: February 18, 2006, 02: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; }
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #4 on: February 19, 2006, 12: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
Logged
BowflexMaster
Guest
« Reply #5 on: March 03, 2006, 10:29:36 PM »

try using and image hosting site such as imageshack.US
Logged
rejetto forum
« Reply #5 on: March 03, 2006, 10:29:36 PM »

Do you like this software? Consider even $2
 Logged
jdog_12345
Guest
« Reply #6 on: March 07, 2006, 11:25:27 AM »

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.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #7 on: March 07, 2006, 12:48:15 PM »

this code is better
Code:
<body background="/Images%20for%20Web%20server/background.jpg">
IP independent
Logged
J-Dog
Guest
« Reply #8 on: March 08, 2006, 05:29:20 AM »

Quote from: "rejetto"
this code is better
Code:
<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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 10, 2012, 01:23:57 PM