...

View Full Version : Different Colored characters.



2Pacalypse
07-18-2008, 03:15 PM
Alright, so I got my game up and running (finally)

I now want to figure out how to edit my CSS Style Sheet so as it displays different letters different colors.

At the moment Admin's name is set to...

.admin_online {color: #00FF00; font-size: 10px; font-family: verdana; font-weight:bold;}
But I sorta want it to have different colors like a basic gradient or a multi colored name :)

Is there a code for this?

jcdevelopment
07-18-2008, 03:28 PM
No there is no code for that, your best bet would be an image with different colors. Or i guess you could do it the hard way


span.clr1 {
color:#whatever;
}
span.clr2 {
color:#whatever;
}
span.clr3 {
color:#whatever;
}
span.clr4 {
color:#whatever;
}
span.clr5 {
color:#whatever;
}
span.clr6 {
color:#whatever;
}

HTML


<span class="clr1">F</span><span class="clr2">A</span><span class="clr3">R</span><span class="clr4">M</span><span class="clr5">E</span><span class="clr6">R</span>

other than that an image would be better.

2Pacalypse
07-18-2008, 03:48 PM
No there is no code for that, your best bet would be an image with different colors. Or i guess you could do it the hard way


span.clr1 {
color:#whatever;
}
span.clr2 {
color:#whatever;
}
span.clr3 {
color:#whatever;
}
span.clr4 {
color:#whatever;
}
span.clr5 {
color:#whatever;
}
span.clr6 {
color:#whatever;
}

HTML


<span class="clr1">F</span><span class="clr2">A</span><span class="clr3">R</span><span class="clr4">M</span><span class="clr5">E</span><span class="clr6">R</span>

other than that an image would be better.
Thanks!

That's basically what I needed!

Many thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum