Help with colors

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Oreilly
Posts: 2
Joined: Sun Jun 07, 2009 3:08 am

Help with colors

Post by Oreilly »

Script URL:
Version of script:1.6
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:

How do i change the color of
Powered by PHP guestbook 1 . 6 from PHPJunkyard - Free PHP scripts
i want to make them green and make it bold
Samsung Behold Forum
WWW.Samsung-Beholg.com
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

All the text can be styled using the style.css file. To learn more about CSS visit:
http://www.w3schools.com/css/

In you case you can try opening the style.css file in Notepad and change

Code: Select all

.smaller {
	font-size: 10px;
}
to
.smaller {
font-size: 10px;
font-weight: bold;
color: green;
}
and change

Code: Select all

a.smaller {
	font-size: 10px;
	color : #0084BE;
	text-decoration : underline;
}

a.smaller:hover {
	font-size: 10px;
	color : Red;
	text-decoration : none;
}
to

Code: Select all

a.smaller {
	font-size: 10px;
	font-weight: bold; 
	color : green;
	text-decoration : underline;
}

a.smaller:hover {
	font-size: 10px;
	color : green;
	text-decoration : none;
}
For any further editing please see the CSS tutorial mentioned above, it's very useful and not hard to learn CSS.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Oreilly
Posts: 2
Joined: Sun Jun 07, 2009 3:08 am

Post by Oreilly »

Didnt change it
What flat file is it in?
Samsung Behold Forum
WWW.Samsung-Beholg.com
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post by DC »

style.css is its own txt based file you can edit it directly.

Then just edit the code Klem has mentioned
Try the following CSS code.

Code: Select all

a.smaller {
	font-size: 10px;
	color : #668600;
	text-decoration : underline;
}

a.smaller:hover {
	font-size: 10px;
	color : #8EC400;
	text-decoration : none;
}
DC
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
puniksem
Posts: 47
Joined: Thu Nov 01, 2007 12:25 pm

re; picking style.css colours

Post by puniksem »

Here's a little utility to help you pick a completely custom colour, all you then need to do is copy the generated code into your style.css file in the appropriate section/s.

http://www.puniksem.com/picker/

I hope you and others find it useful.... :D
World's shortest poem: We, see.
Post Reply