Script URL: novasweb.com/gb135
Version of script: guest book 1.35 latest version
Version of PHP: 1.35
Hosting company: avid hosting
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
i have read through the forum and did not find exactly how to do this i got the the other fields to change colour but cant find how to do this
here is what i want to do look at this
any help would be greatly appreciated I am no script guru!
I just cant figure it out I have tried many options but maybe i am not changing the right thing
thanks in advance for any help
Joe
How do you change COMMENTS background as example
How do you change COMMENTS background as example
Last edited by banjan on Tue Mar 14, 2006 1:04 am, edited 1 time in total.
Re: How do you change COMMENTS background as example
I think i finally got it i had to change this in the gbook.phpbanjan wrote:Script URL: novasweb.com/gb135
Version of script: guest book 1.35 latest version
Version of PHP: 1.35
Hosting company: avid hosting
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
i have read through the forum and did not find exactly how to do this i got the the other fields to change colour but cant find how to do this
here is what i want to do look at this
any help would be greatly appreciated I am no script guru!
I just cant figure it out I have tried many options but maybe i am not changing the right thing
thanks in advance for any help
Joe
but if this is not right please inform me I changed script as follows
<textarea name="comments" style="background-color:#80DCFF" rows=9 cols=50></textarea><?php
if this is not right please let me know
thanks
banjan
Last edited by banjan on Tue Mar 14, 2006 1:03 am, edited 1 time in total.
Hello Banjan,
What you want is possible by editing the gbook.php file but it is preferred not to mess with the gbook.php file.
To change appearance of a html (or php) page Cascading Style Sheets (css) have been introduced. With Gbook comes a stylesheet called style.ccs. By changing the styles in this file you can change most of the look of the pages (unfortunately not everything because Klemen Stirn has some style written directly in the gbook.php file).
To set the black background color add this to the BODY, TD {...} section.
background-color: black;
To set the yellow text, add this to the BODY, TD {...} section.
color: #FED500;
To set the blue background color for the input fields, change the value of background-color of the INPUT {...} section.
background-color: #80DCFF
To set the blue background color for the textarea, add this to the style.css file
TEXTAREA{
background-color: #80DCFF
}
To set the style for the TEXTAREA to the same as the INPUT fields you can also change INPUT { in the style.css file to INPUT, TEXTAREA {
Hope this clears things up for you.
Greetings,
Henrie
What you want is possible by editing the gbook.php file but it is preferred not to mess with the gbook.php file.
To change appearance of a html (or php) page Cascading Style Sheets (css) have been introduced. With Gbook comes a stylesheet called style.ccs. By changing the styles in this file you can change most of the look of the pages (unfortunately not everything because Klemen Stirn has some style written directly in the gbook.php file).
To set the black background color add this to the BODY, TD {...} section.
background-color: black;
To set the yellow text, add this to the BODY, TD {...} section.
color: #FED500;
To set the blue background color for the input fields, change the value of background-color of the INPUT {...} section.
background-color: #80DCFF
To set the blue background color for the textarea, add this to the style.css file
TEXTAREA{
background-color: #80DCFF
}
To set the style for the TEXTAREA to the same as the INPUT fields you can also change INPUT { in the style.css file to INPUT, TEXTAREA {
Hope this clears things up for you.
Greetings,
Henrie
Thanks Henrie this clears things up as I have all the other colors set to the styles .css but could not figure out how to change the text are i got what i wanted by changing the gbook file i will go and do things rightHenrie wrote:Hello Banjan,
What you want is possible by editing the gbook.php file but it is preferred not to mess with the gbook.php file.
To change appearance of a html (or php) page Cascading Style Sheets (css) have been introduced. With Gbook comes a stylesheet called style.ccs. By changing the styles in this file you can change most of the look of the pages (unfortunately not everything because Klemen Stirn has some style written directly in the gbook.php file).
To set the black background color add this to the BODY, TD {...} section.
background-color: black;
To set the yellow text, add this to the BODY, TD {...} section.
color: #FED500;
To set the blue background color for the input fields, change the value of background-color of the INPUT {...} section.
background-color: #80DCFF
To set the blue background color for the textarea, add this to the style.css file
TEXTAREA{
background-color: #80DCFF
}
To set the style for the TEXTAREA to the same as the INPUT fields you can also change INPUT { in the style.css file to INPUT, TEXTAREA {
Hope this clears things up for you.
Greetings,
Henrie

Thanks Again
For the help
If you mean stretching by to long homepage links and e-mail adresses, look at the following topic viewtopic.php?t=631
Greetings,
Henrie
Greetings,
Henrie
No what i meant was in the comments i had to set the char lower than 75 because it streched the gbook but i found out where to do that so i am okHenrie wrote:If you mean stretching by to long homepage links and e-mail adresses, look at the following topic viewtopic.php?t=631
Greetings,
Henrie
Thanks
One thing i have to say is this is a great script and it is free but the most unbelievable thing is the support that you give is relly unbelievable thanks
so much for the help i hope i can finish the rest by myself
Thanks Again Verry Much

Re: How do you change COMMENTS background as example
Version of script: guest book 1.35 latest version
Version of PHP: 1.35
Hosting company: avid hosting
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
i have read through the forum and did not find exactly how to do this i got the the other fields to change colour but cant find how to do this
here is what i want to do look at this
any help would be greatly appreciated I am no script guru!
I just cant figure it out I have tried many options but maybe i am not changing the right thing
thanks in advance for any help
Joe[/quote]
Version of PHP: 1.35
Hosting company: avid hosting
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:
Write your message below:
i have read through the forum and did not find exactly how to do this i got the the other fields to change colour but cant find how to do this
here is what i want to do look at this
any help would be greatly appreciated I am no script guru!
I just cant figure it out I have tried many options but maybe i am not changing the right thing
thanks in advance for any help
Joe[/quote]
In the standard GBook version 1.35 you can't change the background for only the comments area. Just for the whole entry.
If you want to change the background for the comments area only you have to edit the gbook.php file and add a style class to that table cell and then add a style for that class in the style.css file.
Greetings,
Henrie
If you want to change the background for the comments area only you have to edit the gbook.php file and add a style class to that table cell and then add a style for that class in the style.css file.
Greetings,
Henrie