Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 17th, 2005, 6:58 PM   #1
arod199113
Programmer
 
arod199113's Avatar
 
Join Date: Feb 2005
Posts: 86
Rep Power: 0 arod199113 is an unknown quantity at this point
a set backround?

i dont know if any of you ever had a desktop backround picture that wasnt big enough to fit the whole screen
but when when the preferences are set at "tile"(the other ones are "stretch" and "center")the picture diplays itself aligned to the left and top, then the picture repeats next to it and under it until the desktop is full of the same picture
i think you get my point
anyway... say i have a webpage and a backround picture(big enough to cover the whole screen)and when you scroll down the picture repeats
what if i wanted the picture to stay in the same place and everything else to scroll up and down
how would i do that?

Last edited by arod199113; Mar 17th, 2005 at 7:00 PM.
arod199113 is offline   Reply With Quote
Old Mar 17th, 2005, 9:02 PM   #2
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
you can use the fixed property of CSS to set that up.
Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Mar 18th, 2005, 2:00 PM   #3
arod199113
Programmer
 
arod199113's Avatar
 
Join Date: Feb 2005
Posts: 86
Rep Power: 0 arod199113 is an unknown quantity at this point
im still fairly new to html(off and on for about only 2 weeks)
so i really dont know what you mean by "the fixed property of CSS"
if you or someone else could be a little more specific i would greatly appreciate it
arod199113 is offline   Reply With Quote
Old Mar 18th, 2005, 2:29 PM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Well, yuor going to have to learn a bit of CSS to know what the fixed property is. You could also do it with javascript, but it wouldn't be pretty code, plus it's javascript....and we all know how much it sucks.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Apr 4th, 2005, 3:14 PM   #5
dayglowdave
Newbie
 
dayglowdave's Avatar
 
Join Date: Apr 2005
Location: Kansas
Posts: 22
Rep Power: 0 dayglowdave is on a distinguished road
Correct me if I'm wrong but isn't also browser dependent? Like the fixed property will work in IE but not Mozilla? or maybe I'm thinking of something else
dayglowdave is offline   Reply With Quote
Old Apr 4th, 2005, 4:02 PM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Nope... it's browser-independent:
background: #FFFFFF url("blah.jpg") no-repeat fixed;
That should do it.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 6th, 2005, 2:51 PM   #7
MonkeyRevolution
Programmer
 
MonkeyRevolution's Avatar
 
Join Date: Apr 2005
Location: In the toaster. Shh!
Posts: 57
Rep Power: 4 MonkeyRevolution is on a distinguished road
Send a message via AIM to MonkeyRevolution Send a message via MSN to MonkeyRevolution Send a message via Yahoo to MonkeyRevolution
Also:
<body background="moo.jpg"  bgproperties="fixed">
if you want to do the HTML thing
__________________
I had a dream that Triumph the Insult Dog owned Microsoft...

How...appropriate.
MonkeyRevolution is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:40 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC