Next / Previous / Contents / TCC Help System / NM Tech homepage

38.2. LabelCell.html()

Returns a td cell tagged with the CSS class defined in Section 13.4.9, “CLASS_COLUMN_LABEL. Additional CSS class names may be provided in the addCss argument; see Section 4.5, “CSS considerations in page design” and Section 59, “combineCss(): Combine CSS classes from different sources”.

cbchistlib.py
# - - -   L a b e l C e l l . h t m l

    def html(self, sox, addCss=None):
        '''Render self as XHTML.
        '''
        #-- 1
        sox.leaf("td", self.label,
            combineCss(CLASS_COLUMN_LABEL, addCss), valign='top')