Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CSS Report Formatting

739464Feb 26 2010 — edited Mar 22 2010
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2010
Added on Feb 26 2010
32 comments
6,281 views