Skip to main content
Inspiring
June 22, 2006
Answered

CSS font colors

  • June 22, 2006
  • 4 replies
  • 427 views
Hello,

I like to have a black color of the positive numerical notations and a red color to the negatief numerical notations.

If it isn't possible the most numerical notations have also a css code.

Ik hope someone can help me with a solution how to arrange this?

I am using asp and access at the moment.


Jan from holland



This topic has been closed for replies.
Correct answer snuif12
thanks for anwering via an other topic

4 replies

Inspiring
June 22, 2006
Zero is regarded as positive. 8)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Nancy *Adobe Community Expert*" <nancy@webwish.com> wrote in message
news:e7e4vk$no3$1@forums.macromedia.com...
> <% If number > 0 %>
> css class with color: #000;
> <% else %>
> css class with color: #f00;
> <% end if %>
>
> what color do you want if the number is zero?
>
>
> --
> Nancy Gill
> Adobe Community Expert
> BLOG: http://www.dmxwishes.com/blog.asp
> Author: Dreamweaver 8 e-book for the DMX Zone
> Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
> Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A
> Beginner's
> Guide, Mastering Macromedia Contribute
> Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web
> Development
>
>
> "snuif12" <webforumsuser@macromedia.com> wrote in message
> news:e7e0f7$i7k$1@forums.macromedia.com...
>> Hello,
>>
>> I like to have a black color of the positive numerical notations and a
>> red
>> color to the negatief numerical notations.
>>
>> If it isn't possible the most numerical notations have also a css code.
>>
>> Ik hope someone can help me with a solution how to arrange this?
>>
>> I am using asp and access at the moment.
>>
>>
>> Jan from holland
>>
>>
>>
>>
>>
>
>


snuif12Author
Inspiring
June 24, 2006
Thanks. very clear.

But still a little question because I am not a workeholic.

So I cannot it achieve it whitin one (the) class. I have to arrange this in the code.

Is this correct because I have to change this 500 times.

Thanks.

Jan from holland.
snuif12AuthorCorrect answer
Inspiring
June 28, 2006
thanks for anwering via an other topic
Inspiring
June 22, 2006
<% If number > 0 %>
css class with color: #000;
<% else %>
css class with color: #f00;
<% end if %>

what color do you want if the number is zero?


--
Nancy Gill
Adobe Community Expert
BLOG: http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development


"snuif12" <webforumsuser@macromedia.com> wrote in message
news:e7e0f7$i7k$1@forums.macromedia.com...
> Hello,
>
> I like to have a black color of the positive numerical notations and a red
> color to the negatief numerical notations.
>
> If it isn't possible the most numerical notations have also a css code.
>
> Ik hope someone can help me with a solution how to arrange this?
>
> I am using asp and access at the moment.
>
>
> Jan from holland
>
>
>
>
>