## Expanding and Collapsing Rules

TopStyle allows you to switch between expanded and collapsed formats for style rules. The expanded mode [CTRL+=]shows one property per line, and is useful for editing. The collapsed mode [CTRL+-] writes the entire rule to one line, and is useful for looking at the overall style sheet. These commands are also available in the editor right-click menu.

Related topics: CSS Structure and Rules

Example: Expanded Rule

    TH {
    	background : #DCDCDC;
    	color : #191970;
    }

Example: Collapsed Rule

    TH { background : #DCDCDC; color : #191970; }

Section Contents | Help Contents