TxStyle · Textile Documentation

The Textile Markup Reference for Textpattern


CSS classes and CSS ID's

CSS classes and IDs are enclosed in parentheses (). just after phrase modifiers or block modifiers.



Input (editable)

Browser
HTML

More about: CSS classes and CSS ID's

1) An id with a paragraph:

p(#my-paragraph). This is a paragraph that has an id.

2) Both a class and an id:

div(myclass#myid). This div has both a CSS class and an id.

3) An emphasized phrase with an id:

This *(#special-phrase)emphasized phrase* has an id.

Paste code into the box above.




PHP Textile v3.7.0