:: Home >>

Colors, fonts, borders

Row headers are implemented with Active.Templates.Item template and column headers with Active.Templates.Header template (Active.Templates.Item subclass).

Assigning CSS rules to .active-templates-header or .active-templates-item will change appearance of all headers:

/* column headers */
.active-templates-header {
    font-weight: bold;
    color: green;
}

/* row headers */
.active-templates-item {
    text-align: right;
    color: red;
}

To change appearance of one column header you have to use .active-column-n selector combined with .active-scroll-top (othervise it will affect the whole column):

/* single column */
.active-scroll-top .active-column-1 {
    font-weight: bold;
    color: green;
}

Item (and Header) templates consist of two nested DIVs, so if you want to change the background, borders or padding you have to apply the rules either on .active-box-normal (outer DIV) or .active-box-item (inner DIV):

/* row header background */
.active-scroll-left .active-box-item {
    background: green;
}

/* column header background */
.active-scroll-top .active-box-item {
    background: red;
}

See also

Active.Templates.Item, Active.Templates.Header

Comments

2 Mar 06
Changing background color style Raj (0)
28 Jul 05
These settings are a bit flakey Anthony M. (0)
18 Apr 05
Remove Border in Column Header raf (1)
12 Apr 05
Changing BG Color of Column header without affecting first col. Risha (2)
11 Apr 05
Chnaging Color of Column headers only New User - Dev (1)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData