Prefixes don't stay colored.

Go down

In progress Prefixes don't stay colored.

Post by Ramdaman on August 20th 2014, 5:57 pm

I can't seem to get my prefix colored.

This is my JavaScript.

jQuery(document).ready(function() {
jQuery('#modif_topic_title').after('<input type="button" value="In Progress" onclick="set_solved(this.form.elements[\'modif_topic_title\'],\'[IN PROGRESS]\')" style="display: inline;" id="button_label">');

And this is my CSS.

  color: #FFFF00;
Active Poster

Male Posts : 1614
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

Back to top Go down

In progress Re: Prefixes don't stay colored.

Post by Ange Tuteur on August 20th 2014, 6:07 pm


You can color the buttons with this Rule :
#button_label {

Are you trying to color the texts ? If so this tutorial was only for adding buttons which insert prefixes. There is a tutorial on how to style certain keywords in the topic title :
Ange Tuteur
Ange Tuteur

Male Posts : 13217
Reputation : 2946
Language : EN, JA, FR
Location : Macungie, PA

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum