After experiencing a lot of down time, We decided to move this site to
CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.
Change the colour of dynamic text when ACTIVE or INACTIVE
|
Author |
Message
|
ollielaroo
-
Total Posts
:
1
- Scores: 0
-
Reward points
:
0
- Joined: 5/26/2008
-
Status: offline
|
Change the colour of dynamic text when ACTIVE or INACTIVE
Monday, May 26, 2008 7:50 AM
( permalink)
Hi all, I am building an ASP website in Dreamweaver MX which connects to a Microsoft Access database. In my database I have a table called CATEGORIES. There is a field for the STATUS of each category. In my admin-categories page I am using a dynamic text field to display whether a category is 'Active' or 'Inactive'. this is working fine but I am trying to control the color the dynamic text that is displayed i.e. if a category is 'Active' it should be displayed in green and if a category is 'Inactive' it should be displayed in red. I am not a coder/programmer so I feel I am limited to what I can achieve. I am thinking maybe my css file should I should have..... .active { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #009933; } .inactive { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #CC0000; I would be very grateful if someone could offer any help with this. Many thanks.
|
|
|
|
Online Bookmarks Sharing: