need help with editing styles.css

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
druther
Posts: 1
Joined: Thu Nov 15, 2012 1:27 am

need help with editing styles.css

Post by druther »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi Klemen,

I am trying to add a background page texture to the Guestbook page (Guestbook v1.7) so that it will match the rest of my website. I edited the styles.css file as follows, but no luck.

body{
margin: 0;
padding: 0;
background-image: url(../ifpagetexture.jpg);
background-repeat: repeat-x;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #006666;
}

I was able to customize Gbook v1.6 this way, no problem. At first I thought that styles.css might be in the wrong folder (compared to Gbook16), but that's not it.

Any suggestions?

Dave
www.islandfalls.ca/gbook17/
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: need help with editing styles.css

Post by Henrie »

Hello Dave,

The right path would be:

Code: Select all

background-image:url(../../../graphics/ifpagetexture.jpg)
But it is safer to use an absolute path:

Code: Select all

background-image:url(http://www.islandfalls.ca/graphics/ifpagetexture.jpg)
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply