How to fix my site-background?

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

How to fix my site-background?

Post 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.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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;
} 
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post 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;
}
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

nice to read :-)

and all without having a meeting :-)

So working makes fun.

Thank you also for your work of the Tutorial.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Post Reply