FIT - Problem with CSS classes pass and fail

View: New views
1 Messages — Rating Filter:   Alert me  

FIT - Problem with CSS classes pass and fail

by Mike_ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all
I'm having problems with the coloring of passed and failed tests.

I'm using :
fitlibrary version 20080812
fitnesse version 20081201

My problem is that there is CSS generated but it doesn't apply to the table cells.

The generated CSS is defined for a set of elements (p,li and div), but I want it to be a stand alone class (.pass , .fail). The CSS classes fail and pass are correctly generated for the td attribute (in its class attribute), but doesn't work since the stand alone class isn't genereated.

Relevant generated CSS:

p.pass, li.pass, div.pass
        {mso-style-name:pass;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        background:green;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}

p.fail, li.fail, div.fail
        {mso-style-name:fail;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        background:red;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}

Any help would be greatly appreciated.

Many thanks,
 Micke