Hi friends,
I am building a chat engine and displaying the messages from different users in a text input object. It is easy to change the colour of whole text input object in every message but my question is how to make just the lines (each message of the users) in different colours? There should be a CSS or in line code to put as a statement but I could not figure out...
Develop games in your browser. Powerful, performant & highly capable.
CSS will apply to the entire object.
You probably want BBCode, but I think that's only for the text object. Not sure you have any options for inline styling of a text input object.
Thanks dear, could not find something suitable at the moment...