code

50Cent

Seasoned Veteran
Joined
Sep 19, 2009
Messages
2,656
Reaction score
0
FP$
0
how do i use this color code?
Code:
<span style='color:red'>
 
<span> will define an area of text, and apply certain styling to it.

For example if I had this as my CSS:

Code:
<style type="text/css">
<!--
.appliedtext {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #FFF;
	font-size: 14px;
}
-->
</style>

I can then reference to this by doing

Code:
<span class='.appliedtext'>text here</span>

If you only wanted particular CSS, for example red text, you would have:

Code:
<span style='color:red'>text here</span>
 
I think he wants to use it in a forum description, Like FP has under services (Service: offline).

For most forums BBcode works aswell.

Code:
[b]Service:[/b] [color=#FF0000]Offline.[/color]
[b]Service:[/b] [color=#004000]Online.[/color]
 
Back
Top Bottom