I've got a report that I'm trying to format via CSS. The two applicable CSS bits are
.ItemStyle
{
whitespace:nowrap;
font-family:Arial;
font-size:8pt;
color:Black;
background-color:#F4F4F6;
padding:2px;
padding-left:6px;
padding-right:6px;
border-bottom:1px solid lightgrey;
empty-cells:show;
border-collapse:collapse;
}
.AlternatingItemStyle
{
whitespace:nowrap;
font-family:Arial;
font-size:8pt;
color:Black;
background-color:white;
padding:2px;
padding-left:6px;
padding-right:6px;
border-bottom:1px solid lightgrey;
empty-cells:show;
border-collapse:collapse;
}
As you can see, they are exactly the same, except for the background colour.
In my report template I have
<td #ALIGNMENT# headers="#COLUMN_HEADER_NAME#" class="AlternatingItemStyle">#COLUMN_VALUE#</td>
under Column Template 1 and
<td #ALIGNMENT# headers="#COLUMN_HEADER_NAME#" class="ItemStyle">#COLUMN_VALUE#</td>
under Column Template 2.
The problem is that while the background colours work perfectly, for some reason the font size on the AlternatingItemStyle doesn't work. Does anyone have any idea what's going on here? I've double- and triple-checked everything.