Page 1 of 1

need help with editing styles.css

Posted: Thu Nov 15, 2012 1:55 am
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/

Re: need help with editing styles.css

Posted: Thu Nov 15, 2012 6:35 pm
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