Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make one letter in a button a different color than the rest

Status
Not open for further replies.

codeone

Programmer
Mar 25, 2003
343
US
Anyone know how to make just one letter inside a button a different color from the rest something like this:

<grey>P</grey>rint

get it? I bet you do, anyhelp would be great!

I think it has something to do with this:

<style type=&quot;text/css&quot;>
p:first-letter{
float:left;color:blue
}
</style>
<p>
Code One
</p>

thats great but I need it to work with the text inside of a button.

Thanks

Code One
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top