Recent Topics

1 Jun 04, 2005 12:35    

How can I control the color of a text for a one time use only? For instance, if I want to make a certain text RED on one post as a way of making a edit stand out...

Thanks,

W.Hill

2 Jun 04, 2005 12:36

you can use the <ins> </ins> for that.
per default, it is blue

3 Jun 04, 2005 12:38

Topanga wrote:

you can use the <ins> </ins> for that.
per default, it is blue

How to make it RED?

4 Jun 04, 2005 12:48

<I have to say this mode on>
isn't it enough that we give the solution on a silver plate, do we realy have to cut it in pieces ?
<I have to say this mode off>

put this in your css file :
ins {
color: #ff0000;
text-decoration: none;
}

5 Jun 04, 2005 12:56

Topanga wrote:

<I have to say this mode on>
isn't it enough that we give the solution on a silver plate, do we realy have to cut it in pieces ?
<I have to say this mode off>

put this in your css file :
ins {
color: #ff0000;
text-decoration: none;
}

Ok -- but what I asked is not what you answered. :D
I know how to edit the CSS file but what I asked is how to do it on a ONE-time basis. In otherwords, I do not want to change the default of the ins tag.

Is that possible?

6 Jun 04, 2005 13:34

I am ansering your question.
In your post you do this
"Ask me - <ins>How do I feel</ins>?
Ask me now that we are cosy and clinging?
Well sir, all I can say is if I were a bell I'd be ringing.
From the moment we kissed tonight,
That’s that way I've just got to behave.
Boy, if I was a lamp I'd light,
Or if I was a banner I'd wave."
and fot that one post the wordt betwee the tag INS will be red...

7 Jun 04, 2005 13:54

Topanga wrote:

I am ansering your question.
In your post you do this
"Ask me - <ins>How do I feel</ins>?
Ask me now that we are cosy and clinging?
Well sir, all I can say is if I were a bell I'd be ringing.
From the moment we kissed tonight,
That’s that way I've just got to behave.
Boy, if I was a lamp I'd light,
Or if I was a banner I'd wave."
and fot that one post the wordt betwee the tag INS will be red...

Maybe we should dispense with the sarcasm...

You did not answer my question. Your answer results in the INS tag ALWAYS being whatever color I specify in the CSS file. What I want to be able to do is, AT WILL, change the color of specific text without having to always EDIT the CSS File. Your answer forces me to always change the CSS file each time I want to do that, which, in my opinion, is silly.

I do appreciate your time but I think either you are misunderstanding me or I am not understanding your answer.... :roll:

8 Jun 04, 2005 14:13

Why don't you just set a variety of css tags for your text colours and use them as required?

9 Jun 04, 2005 14:23

John wrote:

Why don't you just set a variety of css tags for your text colours and use them as required?

I tried that..and everytime I do that it tells me that it is an illegal tag. I edit the post and use, for instance, in my skin CSS file:

f1 {color: #FF0000}

Then in the Write post tab I try this:

<f1>this is a test</f1>

and then it tells me it is an illegal tag. Obviously I am doing something wrong. Here is the error:

Cannot update, please correct these errors:

* Illegal tag: f1

10 Jun 04, 2005 14:57

Try to use span...

eg CSS

span.red{color: #ff0000;
	text-decoration: none;
}

Post

<p>this is a test <span class="red">of the color red</span></p>

11 Jun 04, 2005 14:59

John wrote:

Try to use span...

eg CSS

span.red{color: #ff0000;
	text-decoration: none;
}

Post

<p>this is a test <span class="red">of the color red</span></p>

Thankyou!

This is what I was after! Wonderful. :D

12 Jun 04, 2005 15:11

Now...another question:

Is there a EASY way to put a toolbar button that will point to all these colors I have inserted into my CSS file?

W. Hill

13 Jun 04, 2005 15:19

Tick bb code when you post and then just use :-

[ color=red]red text[/color]

¥

14 Jun 04, 2005 15:20

¥åßßå wrote:

Tick bb code when you post and then just use :-

[ color=red]red text[/color]

¥

LOL :D

Now WHY didn't someone simply say that before! :)

Thanks!

15 Jun 04, 2005 19:12

re4med wrote:

I do appreciate your time but I think either you are misunderstanding me or I am not understanding your answer.... :roll:

I'm still convinced that that is the only thing that went wrong...

16 Jun 06, 2005 19:59

Put this in your CSS file:

.red{color:#f00}
.orange{color:#f90}
.yellow{color:#ff0}
.green{color:#0f0}
.blue{color:#00f}
.purple{color:#90f}

Then, in your post, do this:

<span class="red">red text</span>

Of course, that's really a non-semantic approach. It'd be better to do it something like this, so that your code has meaning:

/* CSS: */
.warning{color:#f00}

<!-- xhtml -->
<span class="warning">I'm warning you!</span>


Form is loading...