rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: JNuS on March 03, 2008, 12:25:54 AM

Title: Change colour of the text?
Post by: JNuS on March 03, 2008, 12:25:54 AM
Can i change the colour of the comment text seen by viewers of the page im hosting?
Title: Re: Change colour of the text?
Post by: Yves on March 03, 2008, 07:23:07 PM
Salut JNuS,
this should be done in the template. Please contact me by Yahoo, nicname is shown below.
Title: Re: Change colour of the text?
Post by: JNuS on March 03, 2008, 08:18:25 PM
okay, thought it would be easy done by a command of some sort :-\

just one question about changing that in the template; if i just wanted to change colour of one sentence, wouldn't that be very hard to point commands at as u are changing the comments in the program, not in the template?

edit: i meant like it's been done here:

(http://img265.imageshack.us/img265/1865/namnlst1hz4.jpg)
Title: Re: Change colour of the text?
Post by: rejetto on March 05, 2008, 02:07:41 AM
i guess you have to edit with notepad your file rawr_black_main.css
then go to the line .comment {
and after that add color:red;

but i'm just guessing
Title: Re: Change colour of the text?
Post by: JNuS on March 05, 2008, 07:22:40 AM
ok, but wouldn't that change all the comment llines to red? 'cause there aren't any function in HFS that makes security warnings automatically, right?
Title: Re: Change colour of the text?
Post by: TSG on March 05, 2008, 07:27:24 AM
Yes it would change all of them. To do it just simply add <span style="color:#XXXXXX"></span> around the text, like you have done there. There is no call for hfs to have an option.
Title: Re: Change colour of the text?
Post by: JNuS on March 05, 2008, 08:09:38 AM
thx a lot, it workes :D
just 1 more questing, can you also change other text formats in that way, like making it bold and changing the size?
Title: Re: Change colour of the text?
Post by: TSG on March 05, 2008, 08:48:47 AM
Yes style in html allows you to add all css params.

<span style="color:#XXXXXX;font-weight: ;font-size: ;font-family: ;"></span>

http://www.w3schools.com/css/css_text.asp You can also surround it with <b> </b> <i> </i>, w/e works for you.
Title: Re: Change colour of the text?
Post by: JNuS on March 05, 2008, 10:27:52 AM
thx alot for the help :)