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

39.1. SpacerCell.html()

The XHTML rendering will be a td element. It contains a non-breaking space so that in a ruled table it won't look like a blank spot. Additional CSS classes may be passed in through the addCss argument; see Section 59, “combineCss(): Combine CSS classes from different sources”.

cbchistlib.py
# - - -   S p a c e r C e l l . h t m l

    def html(self, sox, addCss=None):
        '''Render a blank cell.
        '''
        sox.leaf("td", NON_BREAKING_SPACE,
                 combineCss(CLASS_SPACER_CELL, addCss))