| Forums > General > "backgrounds." (11 replies)
|
|
|
how do i make as background repeat but at the same time fixed?
like it repeats but when i scroll down the background doesn't move, like it is one big image?
|
| |
|
| |
|
| |
body {
background: url() fixed;
}
That should do. Then the image will repeat by itself. [:
|
| |
| |
|
| |
Supposing your image is smaller than your screensize, it will lah.
|
| |
| |
|
| |
i want to repeat-x it and fix it at the same time like myle's blogskin preview headers with ads and such.
|
| |
| |
|
| |
I don't get you. :B
|
| |
| |
|
| |
background: url('image url here') top left repeat-x fixed;
|
| |
| |
|
| |
top left is the position. it can be changed to px values and percentages.
|
| |
| |
|
| |
thanks.
|
| |
| |
|
| |
then how to make it like in the foreground although it is the background, like everything goes under it when i scroll, not over it?
|
| |
| |
|
| |
Try using z-index ?
|
| |
| |
|
| |
Yeah. Make a new div layer, type whatever you want to be in front in the layer, and give the layer an id, for this example i'll use "top".
so your css will go like this:
#top{
all your styles here blah blah.
z-index: 1;
}
something like that. lol.
or you can search Google for the "always on top" script.
you can't use backgrounds if you want it at the foreground. that's common sense i guess. LOL.
Edited 11 days ago. |
| |
| |
|
| |
oh. online learning. noted down..
|
| Subscribe To This Thread: RSS 2.0 or Atom (?) |
| You must be logged in to post comments. |