Page 1 of 1

How to fix my site-background?

Posted: Thu 22. Jul 2004, 16:28
by pepe
Hi phpwcms-friends,

i want to fix my site-backround during vertical scrolling.
Who is so kind to give me the code and the info where to include?

Thanks for your help.

Posted: Thu 22. Jul 2004, 16:39
by cyrano
Hi pepe,

i have used a code offered from pSouper when using the iframe.
There are the lines:

Code: Select all

background-attachment : scroll; 
   background-repeat: repeat; 
so try to use this. Iknow not a ready-set-go hint....

for details in css i often look at http://www.drweb.de

look here:http://www.drweb.de/csstechnik/css_farbe.shtml

Code: Select all

BODY
{
 background-image:url('picture.gif');
 background-attachment:fixed;
 background-position: center bottom;
 background-repeat:no-repeat;
} 

Posted: Thu 22. Jul 2004, 17:33
by pepe
Thanks carano,

because of your help, i visited drweb.de.

There i've found the solution . I added some lines to my frontend.css. See the red marked code :lol:


body {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;
background-image:url(http://www.my_homepage.de/picture/bg/bg-fade-vertikal-02.jpg);
background-repeat:repeat-x;
background-attachment:fixed;
}

Posted: Thu 22. Jul 2004, 17:47
by cyrano
nice to read :-)

and all without having a meeting :-)

So working makes fun.

Thank you also for your work of the Tutorial.