rejetto forum
Software => HFS ~ HTTP File Server => Topic started 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?
-
Salut JNuS,
this should be done in the template. Please contact me by Yahoo, nicname is shown below.
-
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)
-
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
-
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?
-
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.
-
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?
-
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.
-
thx alot for the help :)