![]() |
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? |
you can use the fixed property of CSS to set that up.
Dizz |
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 |
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.
|
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 :)
|
Nope... it's browser-independent:
:
background: #FFFFFF url("blah.jpg") no-repeat fixed; |
Also:
:
<body background="moo.jpg" bgproperties="fixed"> |
| All times are GMT -5. The time now is 7:56 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC