rejetto forum

template codes

Guest · 9 · 10626

0 Members and 1 Guest are viewing this topic.

newuser

  • Guest
i need a code for a background with picture . (background.jpg)
and can tell me where to insert code plz ? thank you


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
search for: body { margin:0; background-color:#DDDDFF; padding:10px; }

replace with: body { margin:0; background:#DDDDFF url(background.jpg); padding:10px; }


Anonymous

  • Guest
Color Codes:
Code: [Select]
http://webmonkey.wired.com/webmonkey/reference/color_codes/


Offline ataxy

  • Occasional poster
  • *
    • Posts: 19
    • View Profile
    • http://d-vault.peerforces.com
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; }


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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


BowflexMaster

  • Guest
try using and image hosting site such as imageshack.US


jdog_12345

  • Guest
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
this code is better
Code: [Select]
<body background="/Images%20for%20Web%20server/background.jpg">IP independent


J-Dog

  • Guest
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.