Smile  Need help please to add image instead of color & static

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Need help please to add image instead of color & static
digidot
CZ Newbie
digidot has been a member for over 10 year's 10 Year Member
usa.gif california.gif
Status: Offline
Joined: Aug 27, 2007
0.00 posts per day
Posts: 4
Points: 0
   
Hello,
In the code below instead of

echo "<body bgcolor=\"#000000\" text=\"#000000\" link=\"0000ff\">"

what do i need to change it to to add a background image that would stay static?

Thank you



Back to top Reply with quote
#2   re: Need help please to add image instead of color & sta
Mattdylan
CZ Newbie
Mattdylan has been a member for over 9 year's 9 Year Member
usa.gif pennsylvania.gif
Occupation: Web Designer, Computer Programmer
Age: 26
Fav. Sports Team: Pittsburgh Steelers
Website: www.guitarherocustoms.com
Status: Offline
Joined: Feb 07, 2009
0.01 posts per day
Posts: 23
Points: 0
  MSN Messenger 
What do you mean by static? I could tell you how to add a background image. Would you want it to cover the whole page or just a portion.



Back to top Reply with quote
#3   
trunks
CZ Super Newbie
 Codezwiz Site Donator
trunks has been a member for over 9 year's 9 Year Member
uk.gif
Age: 2017
Fav. Sports Team: New York Rangers - NHL
Website: www.PHP-Clans.com
Status: Offline
Joined: Sep 15, 2008
0.01 posts per day
Posts: 36
Points: 685
  MSN Messenger 
Yes could you be more specific, and maybe paste some more code up and also which file the code is located in please icon_smile.gif



Back to top Reply with quote
#4   re: Need help please to add image instead of color & sta
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 15 year's 15 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 53
Website: www.myleague.com/bandr
Status: Offline
Joined: Aug 20, 2003
0.69 posts per day
Posts: 3765
Points: 351,412
   
Do you mean you want the background image to stay put while the rest of the page scrolls?

Try adding this to your body tag:

style="background: url(path_to_your_image.gif) no-repeat fixed;"


Remove the bgcolor attribute.


Back to top Reply with quote
#5   
digidot
CZ Newbie
digidot has been a member for over 10 year's 10 Year Member
usa.gif california.gif
Status: Offline
Joined: Aug 27, 2007
0.00 posts per day
Posts: 4
Points: 0
   
Yes im sorry, wasnt very specific.

I wanted a full image as the background instead of a solid color. Behind the nuke page

Thanks



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum