Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background Question - Old hat for most

Status
Not open for further replies.

Montroze

Technical User
Joined
Apr 20, 2001
Messages
113
Location
CA
I am looking for a script that keeps the background stationary while just the text scrolls, also I would like some faint images on the background. Thanks
 
After setting your background-image, set background-atachment to fixed - is this O.K., or do you want a full script? :-Q
b2 - benbiddington@surf4nix.com
 
Heck, I'D like to see a example script for this...

Thanks!
------------------------------------
[yinyang] 18 years of programming, and still learning every day! [yinyang]
 
Code:
<body background=&quot;yourimage.gif&quot; style=&quot;background-attachment:fixed&quot;>
Hope I helped / Thanks for helping
if ((x<10&&y<10) &&(((parseInt(x.toString()+y.toString())-x-y)%9)!=0)){ alert(&quot;I'm a monkey's uncle&quot;); }
 
Worked like a charm! Thanks!!

Now, is there a way to use a single image, centered and NOT tiled that's this simple?
------------------------------------
[yinyang] 18 years of programming, and still learning every day! [yinyang]
 
Also, I just checked it in Netscape and it's no-go there. Guess nutscrape doesn't like the STYLE property... is there something that works in both, or is it the typical &quot;We don't do it that way&quot; mentality?
------------------------------------
[yinyang] 18 years of programming, and still learning every day! [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top