| |
ollielaroo
Posts: 1
Score: 0
Joined: 5/26/2008
Status: offline
|
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.
|
|