GNU v3 XHTML 1.0
ie6 ie firefox opera safari chrome


The class list now contains 4 custom classes. Click the apposite icon css list icon to get the list from the toolbar in the HTML editor above.

Here's a simple breakdown of how it works.
  1. If you click anywhere in the designer region of the editor, where you want to apply the css style. In this case, the css class is applied to first direct container of the cursor location.
  2. You select a specific piece of text and apply a classname from the list. In the background, this piece of text is wrapped within a span element containing the classname and you selected.
  3. If you select multiple li elements and select a classname. The style gets applied to the direct container (UL)
  4. If you click in a table cell, the classname gets applied to the table cell.
  5. Lastly if you select multiple table cells, possible via ctrl+click or simply select the table as a whole(IE), then the classname gets applied to the table.

Note: Selecting multiple elements that are not contained within a common ancestor, will ignore the operation (in IE only), while apply the classname on the direct container (everybody else). As you can see, there are subtle differences on how the classname is applied based on browser.


Show/Hide code Toggle (declarative syntax and remarks);